@lelantos-org/sdk / core/errors / ErrorContext
Interface: ErrorContext โ
Defined in: @lelantos-org/sdk/dist/core/errors.d.ts:14
Ambient facts about the operation that failed. Populated as the error travels outward, so a failure deep in a swap still reports the id of the operation and the hash of any transaction already broadcast.
Indexable โ
[k: string]: unknownProperties โ
method? โ
optional method?: string;Defined in: @lelantos-org/sdk/dist/core/errors.d.ts:25
op? โ
optional op?: string;Defined in: @lelantos-org/sdk/dist/core/errors.d.ts:18
Operation name, e.g. "deposit" or "swap:leg1".
opId? โ
optional opId?: string;Defined in: @lelantos-org/sdk/dist/core/errors.d.ts:16
Correlation id, minted once per wallet operation.
requestId? โ
optional requestId?: number;Defined in: @lelantos-org/sdk/dist/core/errors.d.ts:26
txHash? โ
optional txHash?: string;Defined in: @lelantos-org/sdk/dist/core/errors.d.ts:23
Hash of a transaction already broadcast when the failure occurred. Set only by callers that opt in; TxMiningError exposes it as a typed field.
url? โ
optional url?: string;Defined in: @lelantos-org/sdk/dist/core/errors.d.ts:24