Function
statusOrElse
(response: HttpClientResponse.HttpClientResponse)
Source from the content-addressed store, hash-verified
| 1032 | } |
| 1033 | |
| 1034 | const statusOrElse = (response: HttpClientResponse.HttpClientResponse) => |
| 1035 | Effect.fail( |
| 1036 | new HttpClientError.HttpClientError({ |
| 1037 | reason: new HttpClientError.DecodeError({ |
| 1038 | request: response.request, |
| 1039 | response |
| 1040 | }) |
| 1041 | }) |
| 1042 | ) |
| 1043 | |
| 1044 | const $HttpBody = Schema.declare(HttpBody.isHttpBody) |
| 1045 | |
Callers
nothing calls this directly
Tested by
no test coverage detected