aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-external-packages/src/symfony/process/exception/runtime_exception.rs
blob: e9cc31e05db34810369b173dbc52d26dfa2410e2 (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/RuntimeException.php

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

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

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