Reference
Function: isPermissionRefusal()
Function: isPermissionRefusal() in @ticketlayer/backstage.
@ticketlayer/backstage / isPermissionRefusal
function isPermissionRefusal(error: unknown): boolean;Defined in: client.ts:648
Whether something thrown is the API refusing for want of a permission,
read by shape (code) so it works across two copies of the SDK in one
bundle, where instanceof BackstageAPIError does not.
Parameters#
| Parameter | Type |
|---|---|
error | unknown |
Returns#
boolean