tinymist_std::error::prelude

Function map_into_err_with_args

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