smithy4s.schema.ErrorSchema
See theErrorSchema companion object
An ErrorSchema is similar to a UnionSchema in that it exposes alternatives
and ordinal
values, and therefore can be manipulated similarly to UnionSchemas.
Additionally, it carries functions to go from E to Throwable and vice-versa. This is used by interpreters to inject data into error channels of effect types, or to recover data from an error-channel prior to serialisation.
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
In this article