(options: {
readonly requestId: RequestId
readonly defect: unknown
})
| 334 | * @since 4.0.0 |
| 335 | */ |
| 336 | export const ResponseExitDieEncoded = (options: { |
| 337 | readonly requestId: RequestId |
| 338 | readonly defect: unknown |
| 339 | }): ResponseExitEncoded => ({ |
| 340 | _tag: "Exit", |
| 341 | requestId: options.requestId, |
| 342 | exit: { |
| 343 | _tag: "Failure", |
| 344 | cause: [{ |
| 345 | _tag: "Die", |
| 346 | defect: encodeDefect(options.defect) |
| 347 | }] |
| 348 | } |
| 349 | }) |
| 350 | |
| 351 | /** |
| 352 | * Creates a transport-encoded defect response by encoding the input with |
nothing calls this directly
no outgoing calls
no test coverage detected