({
cause,
nonce,
}: { cause?: BaseError | undefined; nonce?: number | undefined } = {})
| 134 | export class NonceMaxValueError extends BaseError { |
| 135 | static nodeMessage = /nonce has max value/ |
| 136 | constructor({ |
| 137 | cause, |
| 138 | nonce, |
| 139 | }: { cause?: BaseError | undefined; nonce?: number | undefined } = {}) { |
| 140 | super( |
| 141 | `Nonce provided for the transaction ${ |
| 142 | nonce ? `(${nonce}) ` : '' |
| 143 | }exceeds the maximum allowed nonce.`, |
| 144 | { cause, name: 'NonceMaxValueError' }, |
| 145 | ) |
| 146 | } |
| 147 | } |
| 148 | |
| 149 | export type InsufficientFundsErrorType = InsufficientFundsError & { |
nothing calls this directly
no outgoing calls
no test coverage detected