blob: ed424effdf4f9bc22741810406a410c226e988b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
//! ref: composer/src/Composer/Exception/IrrecoverableDownloadException.php
use shirabe_php_shim::RuntimeException;
#[derive(Debug)]
pub struct IrrecoverableDownloadException(pub RuntimeException);
impl IrrecoverableDownloadException {
pub fn new(message: String) -> Self {
Self(RuntimeException::new(message))
}
}
shirabe_php_shim::impl_php_exception!(
IrrecoverableDownloadException,
0,
r"Composer\Exception\IrrecoverableDownloadException"
);
|