Function add_directive_error_prefix

Source
pub fn add_directive_error_prefix<'a, D, T>(
    dir: &'a D,
    res: Result<T, DotfilesError>,
) -> Result<T, DotfilesError>
where D: Directive<'a>,
Expand description

Adds a prefix to an error with the name of the directive where it happened