hookDeniedStatus
function hookDeniedStatus(error): number | null;Defined in: src/hooks/contract.ts:120
The status of a hook denial — a HookDeniedError, or a foreign-bundle
copy of it recognised by name (default 403 when it carries no numeric
status) — or null when error is not a denial.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
error |
unknown |
Returns
Section titled “Returns”number | null