(
message: string,
public status: number,
public endpoint: string,
)
| 4 | |
| 5 | export class ApiError extends Error { |
| 6 | constructor( |
| 7 | message: string, |
| 8 | public status: number, |
| 9 | public endpoint: string, |
| 10 | ) { |
| 11 | super(message); |
| 12 | this.name = "ApiError"; |
| 13 | } |
| 14 | } |
| 15 | |
| 16 | export class ValidationError extends Error { |
nothing calls this directly
no outgoing calls
no test coverage detected