pub fn error_info_from_exception_stack_safe(
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.