(
message: string,
public zodError: ZodError,
public endpoint: string,
)
| 15 | |
| 16 | export class ValidationError extends Error { |
| 17 | constructor( |
| 18 | message: string, |
| 19 | public zodError: ZodError, |
| 20 | public endpoint: string, |
| 21 | ) { |
| 22 | super(message); |
| 23 | this.name = "ValidationError"; |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | export function handleError(error: unknown): void { |
nothing calls this directly
no outgoing calls
no test coverage detected