aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-external-packages/src/symfony/console/exception/missing_input_exception.rs
blob: 60a984e7eef2bef80ff7e769c4b8410f6e5819e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use super::exception_interface::ExceptionInterface;
use super::runtime_exception::RuntimeException;

#[derive(Debug)]
pub struct MissingInputException(pub RuntimeException);

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

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

impl ExceptionInterface for MissingInputException {}