Fail<E> class
final
Represents a failure caused by an expected error
Constructors
- Fail.new(E error)
-
const
Properties
- error → E
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
map<
E2> (E2 f(E)) → Cause< E2> -
Maps the error type of this cause
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toException(
) → Exception -
Converts this cause to an exception that can be thrown
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override