Skip to content

Commit 981ec73

Browse files
committed
Increase details of invalid theme format error
1 parent dd44bdc commit 981ec73

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/theme.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ pub struct Theme {
2727

2828
#[derive(Error, Debug)]
2929
pub enum Error {
30-
#[error("Theme file not existed")]
30+
#[error("Theme file does not exist")]
3131
NotExisted(#[from] io::Error),
32-
#[error("Theme file format invalid")]
32+
#[error("Theme file format invalid: {0}")]
3333
InvalidFormat(#[from] serde_yaml::Error),
34-
#[error("Theme file path invalid {0}")]
34+
#[error("Theme file path invalid: {0}")]
3535
InvalidPath(String),
3636
#[error("Unknown Theme error")]
3737
Unknown(),

0 commit comments

Comments
 (0)