pub unsafe fn throw_type_error(cx: *mut JSContext, error: &str)
Throw a TypeError with the given message.
TypeError