com.coinbase.cdp.types
Method Details
getErrorType
getErrorMessage
String - The error message.
getCorrelationId
Optional<String> - A unique identifier for the request that generated the error. This can be used to help debug issues with the API.
getErrorLink
Optional<Url> - A link to the corresponding error documentation.
getUnauthorizedCapabilities
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
[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
Map<String,Object>
hashCode
[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
[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
ErrorTypeStage