[ Version ( since = "0.2.0-beta" ) ]
public static Future<G> err<G> (owned Error exception)
Creates a future completed with the given exception.
exception |
an error |
the future completed with the given exception |