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