aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe')
-rw-r--r--crates/shirabe/Cargo.toml3
-rw-r--r--crates/shirabe/src/plugin/plugin_blocked_exception.rs5
2 files changed, 8 insertions, 0 deletions
diff --git a/crates/shirabe/Cargo.toml b/crates/shirabe/Cargo.toml
index 597a886..28d0456 100644
--- a/crates/shirabe/Cargo.toml
+++ b/crates/shirabe/Cargo.toml
@@ -2,3 +2,6 @@
name = "shirabe"
version.workspace = true
edition.workspace = true
+
+[dependencies]
+shirabe-php-shim.workspace = true
diff --git a/crates/shirabe/src/plugin/plugin_blocked_exception.rs b/crates/shirabe/src/plugin/plugin_blocked_exception.rs
index ea89194..b8f2301 100644
--- a/crates/shirabe/src/plugin/plugin_blocked_exception.rs
+++ b/crates/shirabe/src/plugin/plugin_blocked_exception.rs
@@ -1 +1,6 @@
//! ref: composer/src/Composer/Plugin/PluginBlockedException.php
+
+use shirabe_php_shim::UnexpectedValueException;
+
+// TODO(plugin): PluginBlockedException is a part of Plugin API.
+pub struct PluginBlockedException(pub UnexpectedValueException);