pub fn throw_dom_exception(cx: JSContext, global: &GlobalScope, result: Error)
Expand description

Set a pending exception for the given result on cx.