Skip to content

Function: holdOf()

function holdOf(status, body): HoldCode | undefined;

Defined in: rine-core/dist/src/errors-suspended.d.ts:29

The hold a failed response names, or undefined when it names none. A bearer route refuses a held caller with a 403 carrying the hold in error; the token mint refuses with a 400 unauthorized_client carrying it in reason.

Parameters

Parameter Type
status number
body RineErrorBody | undefined

Returns

HoldCode | undefined