version_control_plan_error_response

Function version_control_plan_error_response 

Source
pub fn version_control_plan_error_response(
    snapshot: &DavCapabilitySnapshot,
    error: DavVersionControlPlanError,
) -> Result<DavResponse, DavXmlError>
Expand description

Builds the protocol response for VERSION-CONTROL planning failure through its snapshot.

ยงErrors

Returns DavXmlError when an XML error body cannot be encoded.