({ type }: { type: string })
| 37 | } |
| 38 | export class InvalidStructTypeError extends BaseError { |
| 39 | constructor({ type }: { type: string }) { |
| 40 | super(`Struct type "${type}" is invalid.`, { |
| 41 | metaMessages: ['Struct type must not be a Solidity type.'], |
| 42 | name: 'InvalidStructTypeError', |
| 43 | }) |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | export type InvalidTypedDataTypeErrorType = InvalidTypedDataTypeError & { |
nothing calls this directly
no outgoing calls
no test coverage detected