blob: 31da03052c6a65f293d8a2c9854e659c689a1066 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
//! ref: composer/vendor/symfony/console/Exception/NamespaceNotFoundException.php
use super::command_not_found_exception::CommandNotFoundException;
use super::exception_interface::ExceptionInterface;
#[derive(Debug)]
pub struct NamespaceNotFoundException(pub CommandNotFoundException);
impl NamespaceNotFoundException {
pub fn new(message: String, alternatives: Vec<String>, code: i64) -> Self {
Self(CommandNotFoundException::new(message, alternatives, code))
}
}
shirabe_php_shim::impl_php_exception!(
NamespaceNotFoundException,
0,
r"Symfony\Component\Console\Exception\NamespaceNotFoundException"
);
impl ExceptionInterface for NamespaceNotFoundException {}
|