blob: a8d2dbb4c339aff82cd85d24fe1a61122f70f582 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//! ref: composer/src/Composer/Exception/IrrecoverableDownloadException.php
use shirabe_php_shim::RuntimeException;
#[derive(Debug)]
pub struct IrrecoverableDownloadException(pub RuntimeException);
impl std::fmt::Display for IrrecoverableDownloadException {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
self.0.fmt(f)
}
}
impl std::error::Error for IrrecoverableDownloadException {}
|