aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-external-packages/src/symfony/console/exception/invalid_argument_exception.rs
blob: f4c829963e943cb1e8cfff413399ac6f0af976e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use super::exception_interface::ExceptionInterface;

#[derive(Debug)]
pub struct InvalidArgumentException(pub shirabe_php_shim::InvalidArgumentException);

impl std::fmt::Display for InvalidArgumentException {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        write!(f, "{}", self.0)
    }
}

impl std::error::Error for InvalidArgumentException {}

impl ExceptionInterface for InvalidArgumentException {}