Skip to main content

gen_throw

Function gen_throw 

Source
pub fn gen_throw(gen: &Value, e: Value) -> Result<GenStep, String>
Expand description

generator.throw(e): inject a throw at the suspension point, running any pending finally and letting an enclosing try/catch in the body handle it.