mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-05-12 10:49:58 +02:00
Bail out if sync directory is deleted
This commit is contained in:
@@ -6,7 +6,7 @@ use thiserror::Error;
|
||||
pub enum Error {
|
||||
#[error("Yaml error: {0}")]
|
||||
YamlParseError(#[from] serde_yaml::Error),
|
||||
|
||||
|
||||
#[error("Sync parse error: {0}")]
|
||||
ParseError(String),
|
||||
|
||||
@@ -25,6 +25,9 @@ pub enum Error {
|
||||
#[error("Invalid sync file: {0}")]
|
||||
InvalidSyncFile(String),
|
||||
|
||||
#[error("Invalid sync directory: {0}")]
|
||||
InvalidSyncDirectory(String),
|
||||
|
||||
#[error("Watch error: {0}")]
|
||||
NotifyError(#[from] notify::Error),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user