diff options
author | Canop <cano.petrole@gmail.com> | 2020-08-02 21:05:03 +0200 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2020-08-02 21:05:03 +0200 |
commit | 744bcd06de725fa553987be7149331f7ce2bdc4a (patch) | |
tree | 31b5727c7e20f5ab333db869bdcc4475747a9f81 /src/errors.rs | |
parent | b30e8affeb866e72581e92152e0f94e55cac6793 (diff) |
show an image if preview if possible (WIP)
Diffstat (limited to 'src/errors.rs')
-rw-r--r-- | src/errors.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/errors.rs b/src/errors.rs index 2e3fb73..751548d 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -2,6 +2,7 @@ use { custom_error::custom_error, + image::error::ImageError, regex, std::io, }; @@ -23,6 +24,7 @@ custom_error! {pub ProgramError InvalidGlobError {pattern: String} = "Invalid glob: {pattern}", Unrecognized {token: String} = "Unrecognized: {token}", NetError {source: NetError} = "{}", + ImageError {source: ImageError } = "{}", } custom_error! {pub TreeBuildError |