script::dom::bindings::error

Function throw_invalid_this

source
pub(crate) 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.