Class ErrorResponse


  • public class ErrorResponse
    extends Object
    Error response. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.
    • Constructor Detail

      • ErrorResponse

        public ErrorResponse()
    • Method Detail

      • withError

        public ErrorResponse withError​(ErrorResponseError error)
        Set the error value.
        Parameters:
        error - the error value to set
        Returns:
        the ErrorResponse object itself.