Changing std::fmt::FormatError to std::fmt::Error