Need fallback behaviour when dirs::download_dir returns None (#118)
This commit is contained in:
@@ -349,6 +349,9 @@ pub enum IambError {
|
||||
#[error("Serialization/deserialization error: {0}")]
|
||||
Serde(#[from] serde_json::Error),
|
||||
|
||||
#[error("No download directory configured")]
|
||||
NoDownloadDir,
|
||||
|
||||
#[error("Selected message does not have any attachments")]
|
||||
NoAttachment,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user