Class ResponseError


  • public final class ResponseError
    extends Object
    This class represents the error details of an HTTP response.
    • Constructor Detail

      • ResponseError

        public ResponseError​(String code,
                             String message)
        Creates an instance of ResponseError.
        Parameters:
        code - the error code of this error.
        message - the error message of this error.
    • Method Detail

      • getCode

        public String getCode()
        Returns the error code of this error.
        Returns:
        the error code of this error.
      • getMessage

        public String getMessage()
        Returns the error message of this error.
        Returns:
        the error message of this error.