blob: 65474c2b1dff88a6cb35a03a8b92d47cc1041ca2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
//! ref: composer/vendor/symfony/console/Exception/MissingInputException.php
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 {}
|