Package com.couchbase.client.core.error
Class ErrorCodeAndMessage
java.lang.Object
com.couchbase.client.core.error.ErrorCodeAndMessage
A numeric error code and associated human-readable error message.
-
Constructor Summary
ConstructorsConstructorDescriptionErrorCodeAndMessage(int code, String message, boolean retry, Map<String, Object> reason) -
Method Summary
Modifier and TypeMethodDescriptionintcode()context()Returns an unmodifiable map of any additional information returned by the server.static List<ErrorCodeAndMessage> from(byte[] content) static List<ErrorCodeAndMessage> fromJsonArray(byte[] jsonArray) message()reason()booleanretry()toString()