( f: (issue: SchemaIssue.Issue) => Effect.Effect<Option_.Option<S["Encoded"]>, SchemaIssue.Issue> )
| 5453 | * @since 4.0.0 |
| 5454 | */ |
| 5455 | export function catchEncoding<S extends Constraint>( |
| 5456 | f: (issue: SchemaIssue.Issue) => Effect.Effect<Option_.Option<S["Encoded"]>, SchemaIssue.Issue> |
| 5457 | ): (self: S) => middlewareEncoding<S, S["EncodingServices"]> { |
| 5458 | return catchEncodingWithContext(f) |
| 5459 | } |
| 5460 | |
| 5461 | /** |
| 5462 | * Recovers from an encoding error with a handler that may require Effect services. |
nothing calls this directly
no test coverage detected