aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-external-packages/src/symfony/process/exception/process_timed_out_exception.rs
blob: 8b7bafbf429df37dbfcc9904043910846dabede9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! ref: composer/vendor/symfony/process/Exception/ProcessTimedOutException.php

#[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 {}