aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-external-packages/src/symfony/console/exception/namespace_not_found_exception.rs
blob: c593a3f7a5ce60df4bfeb843cb00741b2f620da4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! ref: composer/vendor/symfony/console/Exception/NamespaceNotFoundException.php

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 {}