(request: ApiRequestOptions, response: ApiResult, message: string)
| 9 | public readonly request: ApiRequestOptions |
| 10 | |
| 11 | constructor(request: ApiRequestOptions, response: ApiResult, message: string) { |
| 12 | super(message) |
| 13 | |
| 14 | this.name = 'ApiError' |
| 15 | this.url = response.url |
| 16 | this.status = response.status |
| 17 | this.statusText = response.statusText |
| 18 | this.body = response.body |
| 19 | this.request = request |
| 20 | } |
| 21 | } |
nothing calls this directly
no outgoing calls
no test coverage detected