(exit: Exit_.Exit<A, SchemaIssue.Issue>)
| 1627 | } |
| 1628 | |
| 1629 | function fromIssueExit<A>(exit: Exit_.Exit<A, SchemaIssue.Issue>): Exit_.Exit<A, SchemaError> { |
| 1630 | return Exit_.isSuccess(exit) |
| 1631 | ? exit as unknown as Exit_.Exit<A, SchemaError> |
| 1632 | : Exit_.failCause(Cause_.map(exit.cause, (issue) => new SchemaError(issue))) |
| 1633 | } |
| 1634 | |
| 1635 | /** |
| 1636 | * Decodes a typed input (the schema's `Encoded` type) against a schema |
no test coverage detected