Function: rineErrorCode()¶
Defined in: rine-ts-sdk/src/errors.ts:97
The server's error code for err, or undefined for anything else.
The one way to ask "which refusal is this?" without matching on the operator
sentence in detail. Codes are stable; that sentence is not.
Parameters¶
| Parameter | Type |
|---|---|
err |
unknown |
Returns¶
string | undefined