(
public readonly data: z.input<Data>,
options?: ErrorOptions,
)
| 19 | public override readonly name = name as Name |
| 20 | |
| 21 | constructor( |
| 22 | public readonly data: z.input<Data>, |
| 23 | options?: ErrorOptions, |
| 24 | ) { |
| 25 | super(name, options) |
| 26 | this.name = name |
| 27 | } |
| 28 | |
| 29 | static isInstance(input: any): input is InstanceType<typeof result> { |
| 30 | return typeof input === "object" && "name" in input && input.name === name |
nothing calls this directly
no outgoing calls
no test coverage detected