Class ErrorMap.ErrorCode
java.lang.Object
com.couchbase.client.core.io.netty.kv.ErrorMap.ErrorCode
- Enclosing class:
ErrorMap
-
Constructor Summary
ConstructorDescriptionErrorCode
(String name, String description, Set<ErrorMap.ErrorAttribute> attributes, ErrorMap.RetrySpecification retrySpec) Creates a new error code, usually called from jackson. -
Method Summary
-
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