Interface NessieError


  • @Immutable
    public interface NessieError
    Represents Nessie-specific API error details.
    • Method Detail

      • getStatus

        int getStatus()
        HTTP status code of this error.
      • getReason

        java.lang.String getReason()
        Reason phrase for the HTTP status code.
      • getMessage

        @Default
        default java.lang.String getMessage()
        Nessie-specific Error message.
      • getErrorCode

        @Default
        default ErrorCode getErrorCode()
        Nessie-specific error code.
      • getServerStackTrace

        @Nullable
        java.lang.String getServerStackTrace()
        Server-side exception stack trace related to this error (if available).
      • getClientProcessingException

        @Auxiliary
        @Nullable
        java.lang.Exception getClientProcessingException()
        Client-side Exception related to the processing of the error response.

        This Exception generally represents any errors related to the decoding of the payload returned by the server to describe the error.

      • getFullMessage

        default java.lang.String getFullMessage()
        The full error message, including HTTP status, reason, server- and client-side exception stack traces.