TAuthError
Payload of TFrameEvents.onAuthError.
type TAuthError = object;
Example
const onAuthError = (error: TAuthError) => {
console.warn(`[${error.code}] ${error.message}`);
instance.destroyFrame();
};
Properties
| Property | Type | Description |
|---|---|---|
code | TAuthErrorCode | string | The failure category. See TAuthErrorCode. A portal newer than the SDK may send a code that is not listed. |
message | string | Human-readable description of the failure. |