error_info_from_exception_stack

Function error_info_from_exception_stack 

Source
pub unsafe fn error_info_from_exception_stack(
    cx: *mut JSContext,
    rval: MutableHandleValue,
) -> Option<ErrorInfo>
Expand description

Retrieve error info from the pending exception stack, by clearing it. Return None if there isn’t one or if it is a warning.