svn_error_compose_create

Function svn_error_compose_create 

Source
pub unsafe extern "C" fn svn_error_compose_create(
    err1: *mut svn_error_t,
    err2: *mut svn_error_t,
) -> *mut svn_error_t
Expand description

Compose two errors, returning the composition as a brand new error and consuming the original errors. Either or both of @a err1 and @a err2 may be @c SVN_NO_ERROR. If both are not @c SVN_NO_ERROR, @a err2 will follow @a err1 in the chain of the returned error.

Either @a err1 or @a err2 can be functions that return svn_error_t* but if both are functions they can be evaluated in either order as per the C language rules.

@since New in 1.6.