aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-external-packages/src/symfony/console/exception/namespace_not_found_exception.rs
blob: 53801bf0a4cc3f218a037e12a66ba37b544b140f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 {}