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