pub(crate) fn report_pending_exception( cx: JSContext, realm: InRealm<'_>, can_gc: CanGc, )
Report a pending exception, thereby clearing it.