aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-shim
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-12 02:36:43 +0900
committernsfisis <nsfisis@gmail.com>2026-05-12 02:36:43 +0900
commitfc0be2d23f8a8edf6089ffa5e7c19763650d486f (patch)
tree0d3726681ccd524667bdbec8d2087b6a46dab837 /crates/shirabe-php-shim
parent0da5618b197cecf3270f3fbbfd7f0fa371030254 (diff)
downloadphp-shirabe-fc0be2d23f8a8edf6089ffa5e7c19763650d486f.tar.gz
php-shirabe-fc0be2d23f8a8edf6089ffa5e7c19763650d486f.tar.zst
php-shirabe-fc0be2d23f8a8edf6089ffa5e7c19763650d486f.zip
feat(port): port InvalidRepositoryException.php
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 e79c971..b5cd9c3 100644
--- a/crates/shirabe-php-shim/src/lib.rs
+++ b/crates/shirabe-php-shim/src/lib.rs
@@ -1,4 +1,10 @@
#[derive(Debug)]
+pub struct Exception {
+ pub message: String,
+ pub code: i64,
+}
+
+#[derive(Debug)]
pub struct RuntimeException {
pub message: String,
pub code: i64,