pub(crate) fn report_pending_exception(cx: &mut CurrentRealm<'_>)
Report a pending exception, thereby clearing it.