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
ConstructorDescriptionErrorCodeAndMessage
(int code, String message, boolean retry, Map<String, Object> reason) -
Method Summary
Modifier and TypeMethodDescriptionint
code()
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()
boolean
retry()
toString()