Class ErrorContract


  • public final class ErrorContract
    extends Object
    Error details. Contains details when the response code indicates an error.
    • Constructor Detail

      • ErrorContract

        public ErrorContract()
    • Method Detail

      • getError

        public ErrorResponse getError()
        Get the error property: Error Response The error details.
        Returns:
        the error value.
      • setError

        public ErrorContract setError​(ErrorResponse error)
        Set the error property: Error Response The error details.
        Parameters:
        error - the error value to set.
        Returns:
        the ErrorContract object itself.