pub(crate) fn throw_dom_exception(
cx: JSContext,
global: &GlobalScope,
result: Error,
can_gc: CanGc,
)
Expand description
Set a pending exception for the given result
on cx
.
pub(crate) fn throw_dom_exception(
cx: JSContext,
global: &GlobalScope,
result: Error,
can_gc: CanGc,
)
Set a pending exception for the given result
on cx
.