Skip to content
docs

Swap2MaybeSentError

Defined in: protocol-swap2-core/src/errors.ts:52

The source broadcast failed AFTER the transaction may have reached the node (lost response, timeout). Do NOT retry: poll getSwap2Status(id) / the chain for hash. The approval is left in place (the deposit may spend it).

new Swap2MaybeSentError(message, hash?, id?, options?): Swap2MaybeSentError

Defined in: protocol-swap2-core/src/errors.ts:53

string

string

string

ErrorOptions

Swap2MaybeSentError

Swap2ExecutionError.constructor

readonly code: Swap2ErrorCode

Defined in: protocol-swap2-core/src/errors.ts:16

Swap2ExecutionError.code


readonly optional hash?: string

Defined in: protocol-swap2-core/src/errors.ts:53


readonly optional id?: string

Defined in: protocol-swap2-core/src/errors.ts:53