Class FacetError


  • public final class FacetError
    extends Facet
    A facet whose execution resulted in an error.
    • Constructor Detail

      • FacetError

        public FacetError()
    • Method Detail

      • errors

        public List<ErrorDetails> errors()
        Get the errors property: An array containing detected facet errors with details.
        Returns:
        the errors value.
      • withErrors

        public FacetError withErrors​(List<ErrorDetails> errors)
        Set the errors property: An array containing detected facet errors with details.
        Parameters:
        errors - the errors value to set.
        Returns:
        the FacetError object itself.
      • withExpression

        public FacetError withExpression​(String expression)
        Set the expression property: Facet expression, same as in the corresponding facet request.
        Overrides:
        withExpression in class Facet
        Parameters:
        expression - the expression value to set.
        Returns:
        the Facet object itself.