blob: b517cad9b42a143b4a9db6254bd176dfe1becf54 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//! ref: composer/src/Composer/Repository/RepositorySecurityException.php
use shirabe_php_shim::Exception;
/// Thrown when a security problem, like a broken or missing signature
#[derive(Debug)]
pub struct RepositorySecurityException(pub Exception);
impl std::fmt::Display for RepositorySecurityException {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
self.0.fmt(f)
}
}
impl std::error::Error for RepositorySecurityException {}
|