Skip to content

Commit

Permalink
Increase details of invalid theme format error
Browse files Browse the repository at this point in the history
  • Loading branch information
riquito committed Nov 5, 2023
1 parent dd44bdc commit 981ec73
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/theme.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ pub struct Theme {

#[derive(Error, Debug)]
pub enum Error {
#[error("Theme file not existed")]
#[error("Theme file does not exist")]
NotExisted(#[from] io::Error),
#[error("Theme file format invalid")]
#[error("Theme file format invalid: {0}")]
InvalidFormat(#[from] serde_yaml::Error),
#[error("Theme file path invalid {0}")]
#[error("Theme file path invalid: {0}")]
InvalidPath(String),
#[error("Unknown Theme error")]
Unknown(),
Expand Down

0 comments on commit 981ec73

Please sign in to comment.