Skip to main content
Package: com.coinbase.cdp.types

Method Details

getErrorType

Returns: ErrorType

getErrorMessage

Returns: String - The error message.

getCorrelationId

Returns: Optional<String> - A unique identifier for the request that generated the error. This can be used to help debug issues with the API.
Returns: Optional<Url> - A link to the corresponding error documentation.

getUnauthorizedCapabilities

Returns: Optional<List<CapabilityName>> - The capability code(s) that were not authorized for the customer on this request. Present only when errorType is customer_not_authorized; absent for every other error type. Use this list to render onboarding UX for the listed capabilities, or fetch GET /v2/customers/{customerId} and inspect each entry’s status / requirements to discover what (if anything) can be submitted to resolve the block.

equals

Overrides: [equals](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals\(java.lang.Object\) "class or interface in java.lang") in class [Object](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html "class or interface in java.lang") Parameters: other - Object Returns: boolean

getAdditionalProperties

Returns: Map<String,Object>

hashCode

Overrides: [hashCode](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode\(\) "class or interface in java.lang") in class [Object](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html "class or interface in java.lang") Returns: int

toString

Overrides: [toString](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString\(\) "class or interface in java.lang") in class [Object](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html "class or interface in java.lang") Returns: String

builder

Returns: Error.ErrorTypeStage