Class RuleViolationError


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

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

    • Constructor Detail

      • RuleViolationError

        public RuleViolationError()
    • Method Detail

      • setCauses

        public void setCauses​(List<RuleViolationCause> causes)
        List of rule violation causes. (Required)
      • getMessage

        public String getMessage()
        The short error message.
        Overrides:
        getMessage in class Error
      • setMessage

        public void setMessage​(String message)
        The short error message.
        Overrides:
        setMessage in class Error
      • setErrorCode

        public void setErrorCode​(Integer errorCode)
        The server-side error code.
        Overrides:
        setErrorCode in class Error
      • getDetail

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

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

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

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