dev.argon.util.async.ErrorWrapper
See theErrorWrapper companion trait
object ErrorWrapper
Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ErrorWrapper.type
Members list
Type members
Classlikes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
abstract class WrappedErrorBase[E](val cause: Cause[E]) extends Exception
Attributes
- Supertypes
-
class Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class ContextException
Types
Value members
Concrete methods
def forWrappedError[E, EXImpl <: WrappedErrorBase[E]](create: Cause[E] => EXImpl)(using TypeTest[Throwable, EXImpl]): ErrorWrapper[E]
def forWrappedErrorPassthrough[E, JEX <: E & Throwable, EXImpl <: WrappedErrorBase[E]](create: Cause[E] => EXImpl)(using TypeTest[Throwable, EXImpl], TypeTest[E, JEX], TypeTest[Throwable, JEX]): ErrorWrapper[E]
def unwrapEffect[R, E, A](a: ZIO[R, Throwable, A])(using errorWrapper: ErrorWrapper[E]): ZIO[R, E, A]
def unwrapStream[R, E, A](a: ZStream[R, Throwable, A])(using errorWrapper: ErrorWrapper[E]): ZStream[R, E, A]
def wrapEffect[R, E, A](a: ZIO[R, E, A])(using errorWrapper: ErrorWrapper[E]): ZIO[R, errorWrapper.EX, A]
def wrapStream[R, E, A](a: ZStream[R, E, A])(using errorWrapper: ErrorWrapper[E]): ZStream[R, errorWrapper.EX, A]
Givens
Givens
In this article