Class ErrorResponse


  • public final class ErrorResponse
    extends Object
    Error response detailing a problem. The format adheres to RFC 9457.
    • Constructor Detail

      • ErrorResponse

        public ErrorResponse()
    • Method Detail

      • getTitle

        public String getTitle()
        A short, human-readable summary of the problem.
      • getDetail

        public String getDetail()
        A human-readable explanation specific to the occurrence of the problem.
      • getStatus

        public int getStatus()
        The HTTP status code returned by the server.
      • getCode

        public String getCode()
        A machine-readable code specific to the occurrence of the problem.
      • getErrors

        public List<ErrorItem> getErrors()
        The HTTP status code returned by the server.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object