Function script::dom::bindings::error::throw_dom_exception

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

Set a pending exception for the given result on cx.