fixed duplicate error messages on installer failure and added new error type
This commit is contained in:
1 parent
1fd1b4e09d
commit
c5da2c7c99
12 files changed
+109
-81
No files matched your search
@@ -23,8 +23,6 @@ pub enum NetError {
|
||||
Parse(String),
|
||||
#[error("Server returned error status {status}: {url}")]
|
||||
StatusError { status: u16, url: String },
|
||||
#[error("Installer process failed: {0}")]
|
||||
InstallerFailed(String),
|
||||
#[error("Task failed: {0}")]
|
||||
TaskFailed(String),
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user