tinymist_std::error::prelude

Function map_err_with_args

Source
pub fn map_err_with_args<T: ErrKindExt, Args: IntoIterator<Item = (&'static str, String)>>(
    loc: &'static str,
    args: Args,
) -> impl FnOnce(T) -> Error