svn_error_set_malfunction_handler

Function svn_error_set_malfunction_handler 

Source
pub unsafe extern "C" fn svn_error_set_malfunction_handler(
    func: svn_error_malfunction_handler_t,
) -> svn_error_malfunction_handler_t
Expand description

Cause subsequent malfunctions to be handled by @a func. Return the handler that was previously in effect.

@a func may not be null.

@note The default handler is svn_error_abort_on_malfunction().

@note This function must be called in a single-threaded context.

@since New in 1.6.