EndpointUnionErrorBuilder

zio.blocks.endpoint.EndpointUnionErrorBuilder

Attributes

Source
EndpointUnionErrorBuilder.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

object ErrorBuilder

Attributes

Companion
trait
Source
EndpointUnionErrorBuilder.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait ErrorBuilder[Err, E2]

Endpoint-specific helper for orOutError.

Endpoint-specific helper for orOutError.

This is intentionally narrower than the generic combinators typeclasses: it handles the domain rule that the first orOutError replaces the initial Unit error channel, while subsequent calls build fallback codecs backed by Scala 3 union derivation from zio.blocks.combinators.Unions.

Attributes

Companion
object
Source
EndpointUnionErrorBuilder.scala
Supertypes
class Object
trait Matchable
class Any