Skip to content

IOExceptionOps<A>

extension IOExceptionOps<A> on IO<Either<Object, A>>

Extension providing operations for unpacking Either typed IOs.

Methods

rethrowError() extension

IO<A> rethrowError()

Inverse of IO.attempt.

Available on IO<A>, provided by the IOExceptionOps<A> extension

Implementation
dart
IO<A> rethrowError() => _rethrowError().traced('rethrowError');