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