Function dotfiles_core::error::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