Class ApiErrorResponseResource


  • public class ApiErrorResponseResource
    extends ErrorResponseResource
    Response handler for API errors.
    Since:
    2.0.0
    Author:
    Paul Klos
    • Constructor Detail

      • ApiErrorResponseResource

        public ApiErrorResponseResource()
      • ApiErrorResponseResource

        public ApiErrorResponseResource​(ApiException apiException)
    • Method Detail

      • getApiErrorCode

        public String getApiErrorCode()
        Getter for error code.
        Returns:
        the error code
      • setApiErrorCode

        public void setApiErrorCode​(String apiErrorCode)
        Setter for error code.
        Parameters:
        apiErrorCode - the error code
      • getApiErrorReason

        public String getApiErrorReason()
        Getter for reason.
        Returns:
        the reason
      • setApiErrorReason

        public void setApiErrorReason​(String apiErrorReason)
        Setter for reason.
        Parameters:
        apiErrorReason - the reason