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