aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-external-packages/src/symfony/component/filesystem/exception/io_exception.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe-external-packages/src/symfony/component/filesystem/exception/io_exception.rs')
-rw-r--r--crates/shirabe-external-packages/src/symfony/component/filesystem/exception/io_exception.rs29
1 files changed, 0 insertions, 29 deletions
diff --git a/crates/shirabe-external-packages/src/symfony/component/filesystem/exception/io_exception.rs b/crates/shirabe-external-packages/src/symfony/component/filesystem/exception/io_exception.rs
deleted file mode 100644
index a5f2844..0000000
--- a/crates/shirabe-external-packages/src/symfony/component/filesystem/exception/io_exception.rs
+++ /dev/null
@@ -1,29 +0,0 @@
-#[derive(Debug)]
-pub struct IOException {
- pub message: String,
- pub code: i64,
- pub path: Option<String>,
-}
-
-impl IOException {
- pub fn new(
- message: String,
- code: i64,
- _previous: Option<Box<dyn std::error::Error + Send + Sync>>,
- path: Option<String>,
- ) -> Self {
- Self {
- message,
- code,
- path,
- }
- }
-}
-
-impl std::fmt::Display for IOException {
- fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
- write!(f, "{}", self.message)
- }
-}
-
-impl std::error::Error for IOException {}