aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-external-packages/src/symfony/component/process/exception/process_signaled_exception.rs
blob: 154a7a7c3458d86a5222c29f154b6b9e50ada3a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#[derive(Debug)]
pub struct ProcessSignaledException {
    pub message: String,
    pub code: i64,
}

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

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