svn_error_compose

Function svn_error_compose 

Source
pub unsafe extern "C" fn svn_error_compose(
    chain: *mut svn_error_t,
    new_err: *mut svn_error_t,
)
Expand description

Add @a new_err to the end of @a chain’s chain of errors. The @a new_err chain will be copied into @a chain’s pool and destroyed, so @a new_err itself becomes invalid after this function.

Either @a chain or @a new_err 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.