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

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

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