Package org.projectnessie.error
Interface NessieError
-
- All Known Implementing Classes:
ImmutableNessieError
@Immutable public interface NessieErrorRepresents Nessie-specific API error details.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ExceptiongetClientProcessingException()Client-sideExceptionrelated to the processing of the error response.default ErrorCodegetErrorCode()Nessie-specific error code.default StringgetFullMessage()The full error message, including HTTP status, reason, server- and client-side exception stack traces.default StringgetMessage()Nessie-specific Error message.StringgetReason()Reason phrase for the HTTP status code.StringgetServerStackTrace()Server-side exception stack trace related to this error (if available).intgetStatus()HTTP status code of this error.
-
-
-
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).
-
getFullMessage
default String getFullMessage()
The full error message, including HTTP status, reason, server- and client-side exception stack traces.
-
-