svn_error__malfunction

Function svn_error__malfunction 

Source
pub unsafe extern "C" fn svn_error__malfunction(
    can_return: svn_boolean_t,
    file: *const c_char,
    line: c_int,
    expr: *const c_char,
) -> *mut svn_error_t
Expand description

A helper function for the macros that report malfunctions. Handle a malfunction by calling the current “malfunction handler” which may have been specified by a call to svn_error_set_malfunction_handler() or else is the default handler as specified in that function’s documentation.

Pass all of the parameters to the handler. The error occurred in the source file @a file at line @a line, and was an assertion failure of the expression @a expr, or, if @a expr is null, an unconditional error.

If @a can_return is true, the handler can return an error object that is returned by the caller. If @a can_return is false the method should never return. (The caller will call abort())

@since New in 1.6.