Skip to main content

error

Function error 

Source
pub fn error(name: &str, message: &str, context: &mut Context) -> JsError
Expand description

Construct a platform exception without consulting mutable JavaScript globals.