Interface NessieError

  • All Known Implementing Classes:
    ImmutableNessieError

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

      • getStatus

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

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

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

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

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

        @Auxiliary
        @Nullable
        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 String getFullMessage()
        The full error message, including HTTP status, reason, server- and client-side exception stack traces.