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