blob: ac3be3b2c08ea8213b92d6a8c85306370b687bea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
//! ref: composer/vendor/symfony/console/Exception/InvalidArgumentException.php
use super::exception_interface::ExceptionInterface;
#[derive(Debug)]
pub struct InvalidArgumentException(pub shirabe_php_shim::InvalidArgumentException);
impl std::fmt::Display for InvalidArgumentException {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
write!(f, "{}", self.0)
}
}
impl std::error::Error for InvalidArgumentException {}
impl ExceptionInterface for InvalidArgumentException {}
|