Can import ZIP
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
use crate::controllers::backup_controller::BackupControllerError;
|
||||
use actix_web::http::StatusCode;
|
||||
use actix_web::{HttpResponse, ResponseError};
|
||||
use std::error::Error;
|
||||
@ -35,6 +36,8 @@ pub enum HttpFailure {
|
||||
ZipError(#[from] ZipError),
|
||||
#[error("a standard I/O manipulation error occurred: {0}")]
|
||||
StdIoError(#[from] std::io::Error),
|
||||
#[error("an error occurred while performing backup/recovery operation: {0}")]
|
||||
BackupControllerError(#[from] BackupControllerError),
|
||||
}
|
||||
|
||||
impl ResponseError for HttpFailure {
|
||||
|
Reference in New Issue
Block a user