({
expectedLength,
givenLength,
type,
}: { expectedLength: number; givenLength: number; type: string })
| 114 | } |
| 115 | export class AbiEncodingArrayLengthMismatchError extends BaseError { |
| 116 | constructor({ |
| 117 | expectedLength, |
| 118 | givenLength, |
| 119 | type, |
| 120 | }: { expectedLength: number; givenLength: number; type: string }) { |
| 121 | super( |
| 122 | [ |
| 123 | `ABI encoding array length mismatch for type ${type}.`, |
| 124 | `Expected length: ${expectedLength}`, |
| 125 | `Given length: ${givenLength}`, |
| 126 | ].join('\n'), |
| 127 | { name: 'AbiEncodingArrayLengthMismatchError' }, |
| 128 | ) |
| 129 | } |
| 130 | } |
| 131 | |
| 132 | export type AbiEncodingBytesSizeMismatchErrorType = |
nothing calls this directly
no outgoing calls
no test coverage detected