({ status, options, headers, body }: HttpErrorParams)
| 13 | headers?: Record<string, string>; |
| 14 | |
| 15 | constructor({ status, options, headers, body }: HttpErrorParams) { |
| 16 | super(`Error ${status.code}`, options) |
| 17 | this.headers = headers; |
| 18 | this.status = status; |
| 19 | this.body = body; |
| 20 | } |
| 21 | } |
nothing calls this directly
no outgoing calls
no test coverage detected