aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--crates/shirabe/src/event_dispatcher/script_execution_exception.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/crates/shirabe/src/event_dispatcher/script_execution_exception.rs b/crates/shirabe/src/event_dispatcher/script_execution_exception.rs
index c641daa..fe871bc 100644
--- a/crates/shirabe/src/event_dispatcher/script_execution_exception.rs
+++ b/crates/shirabe/src/event_dispatcher/script_execution_exception.rs
@@ -1 +1,7 @@
//! ref: composer/src/Composer/EventDispatcher/ScriptExecutionException.php
+
+use shirabe_php_shim::RuntimeException;
+
+/// Thrown when a script running an external process exits with a non-0 status code
+#[derive(Debug)]
+pub struct ScriptExecutionException(pub RuntimeException);