(
public status: number,
public message: string,
public timestamp: string,
)
| 7 | |
| 8 | export class ApiError extends Error { |
| 9 | constructor( |
| 10 | public status: number, |
| 11 | public message: string, |
| 12 | public timestamp: string, |
| 13 | ) { |
| 14 | super(message); |
| 15 | this.name = 'ApiError'; |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | const defaultOption: Options = { |
nothing calls this directly
no outgoing calls
no test coverage detected