(exit: Exit_.Exit<A, SchemaIssue.Issue>)
| 1283 | } |
| 1284 | |
| 1285 | function fromIssueExit<A>(exit: Exit_.Exit<A, SchemaIssue.Issue>): Exit_.Exit<A, SchemaError> { |
| 1286 | return Exit_.isSuccess(exit) |
| 1287 | ? exit as unknown as Exit_.Exit<A, SchemaError> |
| 1288 | : Exit_.failCause(Cause_.map(exit.cause, (issue) => new SchemaError(issue))) |
| 1289 | } |
| 1290 | |
| 1291 | function getSchemaErrorOrThrow( |
| 1292 | cause: Cause_.Cause<SchemaError>, |
no test coverage detected