FutureAnyhowError extension
Methods
-
chain(
) → Future< Iterable< Error> > -
Available on Future<
An iterator of the chain of source errors. Starting at the this.Error> , provided by the FutureAnyhowError extension -
downcast<
E> () → Future< Result< E> > -
Available on Future<
Attempt to downcast the error object to a concrete type.Error> , provided by the FutureAnyhowError extension -
isRoot(
) → Future< bool> -
Available on Future<
Is this Error the first errorError> , provided by the FutureAnyhowError extension -
isType<
E> () → Future< bool> -
Available on Future<
Returns true if E is the type held by this error object. Analogous to anyhow's "is" function, but "is" is a protect keyword in dartError> , provided by the FutureAnyhowError extension -
rootCause(
) → Future< Error> -
Available on Future<
The lowest level cause of this error — this error’s cause’s cause’s cause etc. The root cause is the last error in the iterator produced by chain.Error> , provided by the FutureAnyhowError extension -
stacktrace(
) → Future< StackTrace?> -
Available on Future<
The stacktrace (backtrace) for this error ifError> , provided by the FutureAnyhowError extensionhasStackTrace
is set to true