err


Description:

[ Version ( since = "0.2.0-beta" ) ]
public static Future<G> err<G> (owned Error exception)

Creates a future completed with the given exception.

Parameters:

exception

an error

Returns:

the future completed with the given exception