Inside a `then` or `catchError` clause,

    return new Future.error(e);

is identical to

    throw e;