Create an Ethereum Provider JSON-RPC error.
code
must be an integer in the 1000 <= 4999
range.
Human-readable string
Optional
cause?: unknownNumber error code
Optional
data?: TOther useful information about error
Readonly
causeReadonly
codeOptional
Readonly
dataGenerated using TypeDoc
Error subclass implementing Ethereum Provider errors per EIP-1193.
See
https://eips.ethereum.org/EIPS/eip-1193