Function mozjs::error::throw_type_error
[−]
[src]
pub unsafe fn throw_type_error(cx: *mut JSContext, error: &str)
Throw a TypeError
with the given message.