Skip to main content

JS_GetException

Function JS_GetException 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn JS_GetException( ctx: *mut JsContext, ) -> JsValue
Expand description

JS_GetException: the pending exception as a new reference, or null when there is none.

ยงSafety

ctx must be a live context.