Class: Web3ProviderError

April 29, 2026 ยท View on GitHub

iexec


iexec / errors / Web3ProviderError

Class: Web3ProviderError

Web3ProviderError encapsulates an error thrown by the web3 provider.

Extends

  • Error

Extended by

Constructors

Constructor

new Web3ProviderError(message, options?): Web3ProviderError

Parameters

message

string

A descriptive error message detailing the nature of the error.

options?
cause?

unknown

The original error that caused this web3 provider error.

Returns

Web3ProviderError

Overrides

Error.constructor

Properties

cause?

optional cause: unknown

The original error that caused this web3 provider error.


isUserRejection?

optional isUserRejection: boolean

Wether the error was caused by a user rejection