From 1e44f5723e4c0e0903d00a61f254901e612fe5e1 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Fri, 12 Jun 2026 01:01:35 +0900 Subject: feat(symfony-console): port Symfony Console and make the workspace compile Co-Authored-By: Claude Opus 4.8 --- .../console/exception/namespace_not_found_exception.rs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 crates/shirabe-external-packages/src/symfony/console/exception/namespace_not_found_exception.rs (limited to 'crates/shirabe-external-packages/src/symfony/console/exception/namespace_not_found_exception.rs') 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 {} -- cgit v1.3.1