pub unsafe fn throw_type_error(cx: *mut JSContext, error: &str)
Expand description

Throw a TypeError with the given message.