svn_error_root_cause

Function svn_error_root_cause 

Source
pub unsafe extern "C" fn svn_error_root_cause(
    err: *mut svn_error_t,
) -> *mut svn_error_t
Expand description

Return the root cause of @a err by finding the last error in its chain (e.g. it or its children). @a err may be @c SVN_NO_ERROR, in which case @c SVN_NO_ERROR is returned. The returned error should @em not be cleared as it shares memory with @a err.

@since New in 1.5.