getErrorCode
getErrorCode(
error):string|undefined
Defined in: sdks/js/browser-sdk/src/utils/errors.ts:165
Reads the binding error code from an error thrown by the WASM bindings.
Prefers the code property the bindings set on the main thread and falls
back to the [<code>] message prefix, which is all that survives a worker
error transfer.
Parameters
Section titled “Parameters”unknown
Returns
Section titled “Returns”string | undefined

