Skip to content

CallExceptionError

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/utils/errors.d.ts:298

This Error indicates a transaction reverted.

action: CallExceptionAction;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/utils/errors.d.ts:302

The action being performed when the revert was encountered.


optional cause: unknown;

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts:26

EthersError.cause


code: ErrorCode;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/utils/errors.d.ts:89

The string error code.

EthersError.code


data: null | string;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/utils/errors.d.ts:306

The revert data returned.


optional error: Error;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/utils/errors.d.ts:104

Any related error.

EthersError.error


optional info: Record<string, any>;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/utils/errors.d.ts:100

Additional info regarding the error that may be useful.

This is generally helpful mostly for human-based debugging.

EthersError.info


invocation:
| null
| {
args: any[];
method: string;
signature: string;
};

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/utils/errors.d.ts:318

The contract invocation details, if available.


message: string;

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1077

EthersError.message


name: string;

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1076

EthersError.name


reason: null | string;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/utils/errors.d.ts:310

A human-readable representation of data, if possible.


optional receipt: TransactionReceipt;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/utils/errors.d.ts:335

If the error occurred in a transaction that was mined (with a status of 0), this is the receipt.


revert:
| null
| {
args: any[];
name: string;
signature: string;
};

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/utils/errors.d.ts:326

The built-in or custom revert error, if available


shortMessage: string;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/utils/errors.d.ts:94

A short message describing the error, with minimal additional details.

EthersError.shortMessage


optional stack: string;

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1078

EthersError.stack


transaction: CallExceptionTransaction;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/utils/errors.d.ts:314

The transaction that triggered the exception.