(exit: Exit.Exit<Response.HttpServerResponse, E>)
| 390 | * @since 4.0.0 |
| 391 | */ |
| 392 | export const exitResponse = <E>(exit: Exit.Exit<Response.HttpServerResponse, E>): Response.HttpServerResponse => { |
| 393 | if (exit._tag === "Success") { |
| 394 | return exit.value |
| 395 | } |
| 396 | return causeResponseStripped(exit.cause)[0] |
| 397 | } |
nothing calls this directly
no test coverage detected