Class ErrorMap.ErrorCode
java.lang.Object
com.couchbase.client.core.io.netty.kv.ErrorMap.ErrorCode
- Enclosing class:
- ErrorMap
public static class ErrorMap.ErrorCode extends Object
-
Constructor Summary
Constructors Constructor Description ErrorCode(String name, String description, Set<ErrorMap.ErrorAttribute> attributes, ErrorMap.RetrySpecification retrySpec)Creates a new error code, usually called from jackson. -
Method Summary
Modifier and Type Method Description Set<ErrorMap.ErrorAttribute>attributes()Stringdescription()Stringname()ErrorMap.RetrySpecificationretrySpec()StringtoString()
-
Constructor Details
-
ErrorCode
public ErrorCode(String name, String description, Set<ErrorMap.ErrorAttribute> attributes, ErrorMap.RetrySpecification retrySpec)Creates a new error code, usually called from jackson.- Parameters:
name- name of the error code.description- description of the error code.attributes- the attributes for each error.retrySpec- the retry specification for the error code.
-
-
Method Details