| 1 | export class APIError extends Error { |
| 2 | status:number; |
| 3 | |
| 4 | constructor(message:string, status:number) { |
| 5 | super(message); |
| 6 | this.status = status; |
| 7 | this.name = "APIError"; |
| 8 | } |
| 9 | } |
nothing calls this directly
no outgoing calls
no test coverage detected