Class ErrorResponse


  • public class ErrorResponse
    extends Response
    The top-level response that represents a failed request.
    • Constructor Detail

      • ErrorResponse

        public ErrorResponse()
    • Method Detail

      • errors

        public List<Error> errors()
        Get the errors value.
        Returns:
        the errors value
      • withErrors

        public ErrorResponse withErrors​(List<Error> errors)
        Set the errors value.
        Parameters:
        errors - the errors value to set
        Returns:
        the ErrorResponse object itself.