Class Error

  • Direct Known Subclasses:
    RuleViolationError

    @Generated("jsonschema2pojo")
    public class Error
    extends Object
    Root Type for Error

    All error responses, whether `4xx` or `5xx` will include one of these as the response body.

    • Constructor Detail

      • Error

        public Error()
    • Method Detail

      • getMessage

        public String getMessage()
        The short error message.
      • setMessage

        public void setMessage​(String message)
        The short error message.
      • getErrorCode

        public Integer getErrorCode()
        The server-side error code.
      • setErrorCode

        public void setErrorCode​(Integer errorCode)
        The server-side error code.
      • getDetail

        public String getDetail()
        Full details about the error. This might contain a server stack trace, for example.
      • setDetail

        public void setDetail​(String detail)
        Full details about the error. This might contain a server stack trace, for example.
      • getName

        public String getName()
        The error name - typically the classname of the exception thrown by the server.
      • setName

        public void setName​(String name)
        The error name - typically the classname of the exception thrown by the server.