isErrorAnd
Returns true if the AsyncResult is Error and the predicate returns true for the throwable.
Inspired by Rust's is_err_and.
Return
true if this is Error and predicate returns true, false otherwise.
Parameters
predicate
Function that receives the throwable and returns true when it matches.