script_bindings::error

Function throw_invalid_this

Source
pub fn throw_invalid_this(cx: JSContext, proto_id: u16)
Expand description

Throw an exception to signal that a JSObject can not be converted to a given DOM type.