func ErrorCodeOf(err error) ErrorCode
ErrorCodeOf returns the first KeyHold error code in an unwrap chain.
Parameters
| Name | Type | Description |
|---|
err | error | Parameter err of ErrorCodeOf. |
Returns
ErrorCode
Source
This page is generated from SDK source metadata and the translation catalog.