aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-shim
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-15 23:55:22 +0900
committernsfisis <nsfisis@gmail.com>2026-05-16 10:00:40 +0900
commit02e3c8170ee6fedc1d7c4129736e38881b768d7d (patch)
tree2f5c7aaa1688b0bdfe771ffabef044e3c71f43ba /crates/shirabe-php-shim
parentb546fbdb2db838cd6fa5e3d4e1fc7ae10b1c7dae (diff)
downloadphp-shirabe-02e3c8170ee6fedc1d7c4129736e38881b768d7d.tar.gz
php-shirabe-02e3c8170ee6fedc1d7c4129736e38881b768d7d.tar.zst
php-shirabe-02e3c8170ee6fedc1d7c4129736e38881b768d7d.zip
feat(port): port RuleSet.php
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe-php-shim')
-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 0adb17b..27ccb0e 100644
--- a/crates/shirabe-php-shim/src/lib.rs
+++ b/crates/shirabe-php-shim/src/lib.rs
@@ -96,6 +96,12 @@ pub struct BadMethodCallException {
}
#[derive(Debug)]
+pub struct OutOfBoundsException {
+ pub message: String,
+ pub code: i64,
+}
+
+#[derive(Debug)]
pub struct ErrorException {
pub message: String,
pub code: i64,