(url: string, status: number, response: string)
| 8 | public response: string; |
| 9 | |
| 10 | constructor(url: string, status: number, response: string) { |
| 11 | super(`Unexpected status code: ${status}`); |
| 12 | |
| 13 | this.name = 'HttpError'; |
| 14 | this.url = url; |
| 15 | this.statusCode = status; |
| 16 | this.response = response; |
| 17 | } |
| 18 | } |
| 19 | |
| 20 | export type GraphQLError = { |
nothing calls this directly
no outgoing calls
no test coverage detected