aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-external-packages/src/symfony/console/exception/missing_input_exception.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe-external-packages/src/symfony/console/exception/missing_input_exception.rs')
-rw-r--r--crates/shirabe-external-packages/src/symfony/console/exception/missing_input_exception.rs15
1 files changed, 15 insertions, 0 deletions
diff --git a/crates/shirabe-external-packages/src/symfony/console/exception/missing_input_exception.rs b/crates/shirabe-external-packages/src/symfony/console/exception/missing_input_exception.rs
new file mode 100644
index 0000000..60a984e
--- /dev/null
+++ b/crates/shirabe-external-packages/src/symfony/console/exception/missing_input_exception.rs
@@ -0,0 +1,15 @@
+use super::exception_interface::ExceptionInterface;
+use super::runtime_exception::RuntimeException;
+
+#[derive(Debug)]
+pub struct MissingInputException(pub RuntimeException);
+
+impl std::fmt::Display for MissingInputException {
+ fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
+ write!(f, "{}", self.0)
+ }
+}
+
+impl std::error::Error for MissingInputException {}
+
+impl ExceptionInterface for MissingInputException {}