aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/downloader/filesystem_exception.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/downloader/filesystem_exception.rs')
-rw-r--r--crates/shirabe/src/downloader/filesystem_exception.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/crates/shirabe/src/downloader/filesystem_exception.rs b/crates/shirabe/src/downloader/filesystem_exception.rs
index f861306..f0aa831 100644
--- a/crates/shirabe/src/downloader/filesystem_exception.rs
+++ b/crates/shirabe/src/downloader/filesystem_exception.rs
@@ -13,3 +13,11 @@ impl FilesystemException {
})
}
}
+
+impl std::fmt::Display for FilesystemException {
+ fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
+ self.0.fmt(f)
+ }
+}
+
+impl std::error::Error for FilesystemException {}