pub fn fmt_kind_error<I, T>(
    error: &Error<I, T>,
    f: &mut Formatter<'_>
) -> Resultwhere
    I: Display + AsRef<str>,
    T: Display,