Function take_and_report_pending_exception_for_api

Source
pub(crate) fn take_and_report_pending_exception_for_api(
    cx: JSContext,
    realm: InRealm<'_>,
    can_gc: CanGc,
) -> Option<JavaScriptErrorInfo>