fn error_info_from_pending_exception( cx: &mut JSContext, value: MutableHandleValue<'_>, ) -> Option<ErrorInfo>