blob: b554b13c973a31b70cc7814edc0b3adb24df444d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//! 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);
impl std::fmt::Display for PluginBlockedException {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
self.0.fmt(f)
}
}
impl std::error::Error for PluginBlockedException {}
|