Skip to main content
Version: 1.4.0

Interface: CCIPErrorOptions

Defined in: errors/CCIPError.ts:5

Options for CCIPError constructor.

Properties

cause?

optional cause?: Error

Defined in: errors/CCIPError.ts:7

Original error (ES2022 cause).


context?

optional context?: Record<string, unknown>

Defined in: errors/CCIPError.ts:9

Structured context (IDs, addresses).


isTransient?

optional isTransient?: boolean

Defined in: errors/CCIPError.ts:11

True if retry may succeed.


recovery?

optional recovery?: string

Defined in: errors/CCIPError.ts:15

Recovery suggestion.


retryAfterMs?

optional retryAfterMs?: number

Defined in: errors/CCIPError.ts:13

Retry delay in ms.