zio.IsSubtypeOfError
See theIsSubtypeOfError companion object
sealed abstract class IsSubtypeOfError[-A, +B] extends A => B, Serializable
Evidence that the error type A of an effect is a subtype of B, which also converts an A to a B. Operators that need a particular error type, such as ZIO#orDie or Cause#squash (a Throwable), ask for it, and the compiler names both types when it is missing.
Attributes
- Companion
- object
- Source
- IsSubtype.scala
- Graph
-
- Supertypes
-
trait Serializabletrait A => Bclass Objecttrait Matchableclass Any
Members list
In this article