( tag: Tag, cause: E, response: HttpClientResponse.HttpClientResponse )
| 22472 | }> {} |
| 22473 | |
| 22474 | export const ClientError = <Tag extends string, E>( |
| 22475 | tag: Tag, |
| 22476 | cause: E, |
| 22477 | response: HttpClientResponse.HttpClientResponse |
| 22478 | ): ClientError<Tag, E> => |
| 22479 | new ClientErrorImpl({ |
| 22480 | _tag: tag, |
| 22481 | cause, |
| 22482 | response, |
| 22483 | request: response.request |
| 22484 | }) as any |