aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-symfony-process/src/exception/invalid_argument_exception.rs
blob: c9a42653131752f830d1c4c133323bc9d4873097 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//! ref: composer/vendor/symfony/process/Exception/InvalidArgumentException.php

#[derive(Debug)]
pub struct InvalidArgumentException {
    inner: shirabe_php_shim::InvalidArgumentException,
}

impl InvalidArgumentException {
    pub fn new(message: String) -> Self {
        Self {
            inner: shirabe_php_shim::InvalidArgumentException::new(message),
        }
    }
}

shirabe_php_shim::impl_php_exception!(
    InvalidArgumentException,
    inner,
    r"Symfony\Component\Process\Exception\InvalidArgumentException"
);