aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-shim/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe-php-shim/src')
-rw-r--r--crates/shirabe-php-shim/src/lib.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/crates/shirabe-php-shim/src/lib.rs b/crates/shirabe-php-shim/src/lib.rs
index 95dbd4d..0adb17b 100644
--- a/crates/shirabe-php-shim/src/lib.rs
+++ b/crates/shirabe-php-shim/src/lib.rs
@@ -90,6 +90,12 @@ pub struct LogicException {
}
#[derive(Debug)]
+pub struct BadMethodCallException {
+ pub message: String,
+ pub code: i64,
+}
+
+#[derive(Debug)]
pub struct ErrorException {
pub message: String,
pub code: i64,