Skip to main content

throw_dom_exception

Function throw_dom_exception 

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

Set a pending exception for the given result on cx.