({
cause,
nonce,
}: { cause?: BaseError | undefined; nonce?: number | undefined } = {})
| 94 | export class NonceTooHighError extends BaseError { |
| 95 | static nodeMessage = /nonce too high/ |
| 96 | constructor({ |
| 97 | cause, |
| 98 | nonce, |
| 99 | }: { cause?: BaseError | undefined; nonce?: number | undefined } = {}) { |
| 100 | super( |
| 101 | `Nonce provided for the transaction ${ |
| 102 | nonce ? `(${nonce}) ` : '' |
| 103 | }is higher than the next one expected.`, |
| 104 | { cause, name: 'NonceTooHighError' }, |
| 105 | ) |
| 106 | } |
| 107 | } |
| 108 | |
| 109 | export type NonceTooLowErrorType = NonceTooLowError & { |
nothing calls this directly
no outgoing calls
no test coverage detected