Skip to main content

throw_error

Function throw_error 

Source
pub fn throw_error(context: &JsContext, name: &str, message: &str) -> JsValue
Expand description

JS_ThrowRangeError-style error, stored as the pending exception of context.