attach_exception_handler

Function attach_exception_handler 

Source
pub unsafe extern "C" fn attach_exception_handler(
    path: *const PathChar,
    path_len: usize,
    crash_callback: CrashCallback,
    crash_callback_ctx: *mut c_void,
    install_options: u32,
) -> *mut ExceptionHandler
Expand description

Creates and attaches an exception handler that will monitor this process for crashes

Note: The install_options only applies on MacOS/iOS, it is ignored for all other platforms.