aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-external-packages/src/symfony/process/exception/logic_exception.rs
blob: 36e9bcca66acf47a4ef7b02765292c1105530b8a (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/LogicException.php

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

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

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