@@ -66,3 +66,9 @@ impl From<std::io::Error> for Error {
Self::Io(err.kind())
}
+
+impl From<Error> for std::io::Error {
+ fn from(err: Error) -> std::io::Error {
+ std::io::Error::other(err.to_string())
+ }
+}