(
description: string,
cause?: unknown
)
| 323 | } |
| 324 | |
| 325 | private decodeError( |
| 326 | description: string, |
| 327 | cause?: unknown |
| 328 | ): HttpClientError.HttpClientError { |
| 329 | return new HttpClientError.HttpClientError({ |
| 330 | reason: new HttpClientError.DecodeError({ |
| 331 | request: this.request, |
| 332 | response: this, |
| 333 | description, |
| 334 | cause |
| 335 | }) |
| 336 | }) |
| 337 | } |
| 338 | |
| 339 | private failed(error: string): HttpClientError.HttpClientError { |
| 340 | return this.decodeError(`The response failed: ${error}`, error) |
no outgoing calls
no test coverage detected