Function Future.raise

Set the future's state to raised exception

void raise (
  Throwable ex
) @nogc;