diff options
Diffstat (limited to 'crates/shirabe-external-packages/src/symfony/console/exception/runtime_exception.rs')
| -rw-r--r-- | crates/shirabe-external-packages/src/symfony/console/exception/runtime_exception.rs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/crates/shirabe-external-packages/src/symfony/console/exception/runtime_exception.rs b/crates/shirabe-external-packages/src/symfony/console/exception/runtime_exception.rs deleted file mode 100644 index 12e5b79c..00000000 --- a/crates/shirabe-external-packages/src/symfony/console/exception/runtime_exception.rs +++ /dev/null @@ -1,20 +0,0 @@ -//! ref: composer/vendor/symfony/console/Exception/RuntimeException.php - -use super::exception_interface::ExceptionInterface; - -#[derive(Debug)] -pub struct RuntimeException(pub shirabe_php_shim::RuntimeException); - -impl RuntimeException { - pub fn new(message: String) -> Self { - Self(shirabe_php_shim::RuntimeException::new(message)) - } -} - -shirabe_php_shim::impl_php_exception!( - RuntimeException, - 0, - r"Symfony\Component\Console\Exception\RuntimeException" -); - -impl ExceptionInterface for RuntimeException {} |
