menu
cowpay package
documentation
core/packages/dartz/dartz.dart
TaskMonadCatch
fail<A> method
fail<A> method
dark_mode
light_mode
fail<
A
>
method
@
override
Task
<
A
>
fail
<
A
>(
Object
err
)
override
Implementation
@override Task<A> fail<A>(Object err) => new Task(() => new Future.error(err));
cowpay package
documentation
core/packages/dartz/dartz
TaskMonadCatch
fail<A> method
TaskMonadCatch class