Skip to content
docs

LayerswapRefusal

Defined in: protocol-swap2-layerswap/src/verify.ts:19

A refusal this module raises: a named check and the reason class the engine reports.

  • Error

new LayerswapRefusal(check, message, reason): LayerswapRefusal

Defined in: protocol-swap2-layerswap/src/verify.ts:20

string

string

Swap2RefusalReason

LayerswapRefusal

Error.constructor

readonly check: string

Defined in: protocol-swap2-layerswap/src/verify.ts:20