blob: f861306f74fd25883b6b0904bd4e0ccfc2984808 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//! ref: composer/src/Composer/Downloader/FilesystemException.php
use shirabe_php_shim::Exception;
#[derive(Debug)]
pub struct FilesystemException(pub Exception);
impl FilesystemException {
pub fn new(message: String, code: i64) -> Self {
FilesystemException(Exception {
message: format!("Filesystem exception: \n{}", message),
code,
})
}
}
|