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.
Extends
Section titled “Extends”EthersError
<"CALL_EXCEPTION"
>
Properties
Section titled “Properties”action
Section titled “action”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.
cause?
Section titled “cause?”optional cause: unknown;
Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts:26
Inherited from
Section titled “Inherited from”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.
Inherited from
Section titled “Inherited from”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.
error?
Section titled “error?”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.
Inherited from
Section titled “Inherited from”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.
Inherited from
Section titled “Inherited from”invocation
Section titled “invocation”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
Section titled “message”message: string;
Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1077
Inherited from
Section titled “Inherited from”name: string;
Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1076
Inherited from
Section titled “Inherited from”reason
Section titled “reason”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.
receipt?
Section titled “receipt?”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
Section titled “revert”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
Section titled “shortMessage”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.
Inherited from
Section titled “Inherited from”stack?
Section titled “stack?”optional stack: string;
Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1078
Inherited from
Section titled “Inherited from”transaction
Section titled “transaction”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.