tinymist_std::error::prelude

Function wrap_err_with_args

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