(exit: Exit.Exit<Response.HttpServerResponse, E>)
| 367 | * @since 4.0.0 |
| 368 | */ |
| 369 | export const exitResponse = <E>(exit: Exit.Exit<Response.HttpServerResponse, E>): Response.HttpServerResponse => { |
| 370 | if (exit._tag === "Success") { |
| 371 | return exit.value |
| 372 | } |
| 373 | return causeResponseStripped(exit.cause)[0] |
| 374 | } |
nothing calls this directly
no test coverage detected