blob: 74ef7e9de59bbaa595b9dd7ec98d5c0a8e42a23c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
use crate::symfony::process::process::Process;
#[derive(Debug)]
pub struct ProcessFailedException {
pub message: String,
pub code: i64,
}
impl ProcessFailedException {
pub fn new(_process: &Process) -> Self {
todo!()
}
}
impl std::fmt::Display for ProcessFailedException {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
write!(f, "{}", self.message)
}
}
impl std::error::Error for ProcessFailedException {}
|