tinymist_std::error::prelude

Function map_into_err

Source
pub fn map_into_err<S: ErrKindExt, T: Into<S>>(
    loc: &'static str,
) -> impl Fn(T) -> Error