public class ErrorCodeAndMessage extends Object
Constructor and Description |
---|
ErrorCodeAndMessage(int code,
String message) |
Modifier and Type | Method and Description |
---|---|
int |
code() |
Map<String,Object> |
context()
Returns an unmodifiable map of any additional information returned by the server.
|
static List<ErrorCodeAndMessage> |
fromJsonArray(byte[] jsonArray) |
String |
message() |
String |
toString() |
public ErrorCodeAndMessage(int code, String message)
public int code()
public String message()
public Map<String,Object> context()
@Stability.Internal public static List<ErrorCodeAndMessage> fromJsonArray(byte[] jsonArray)
Copyright © 2020 Couchbase, Inc.. All rights reserved.