انتقل إلى المحتوى الرئيسي

Function: refusalCodeOf()

refusalCodeOf(code): RefusalCodeDefinition | undefined

Defined in: packages/contracts/src/refusal-codes.ts:254

The shared definition of a code, for a caller that holds the code as a plain string (the gateway, reading a reply).

Parameters​

code​

string

A refusal's code.

Returns​

RefusalCodeDefinition | undefined

Its definition, or undefined for a code that is not shared.