diff options
author | Sam Tay <sam.chong.tay@gmail.com> | 2020-06-22 21:59:20 -0700 |
---|---|---|
committer | Sam Tay <sam.chong.tay@gmail.com> | 2020-06-23 19:22:49 -0700 |
commit | 0c4bafb3eb996b0e70707a32c11e8a1a2f9572ba (patch) | |
tree | 6b90e68fd3db4e8b8c6334882ec2872f12402109 /src/error.rs | |
parent | fdc4092d0276259c47a14cf2cc52c933fec633e4 (diff) |
Add duckduckgo search engine
Diffstat (limited to 'src/error.rs')
-rw-r--r-- | src/error.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/error.rs b/src/error.rs index d104594..53ba23c 100644 --- a/src/error.rs +++ b/src/error.rs @@ -24,10 +24,10 @@ pub enum Error { Permissions(PermissionType, PathBuf), #[error("{0}")] StackExchange(String), + #[error("{0}")] + ScrapingError(String), #[error("Couldn't find a suitable project directory; is your OS supported?")] ProjectDir, - #[error("Empty sites file in cache")] - EmptySites, #[error("Sorry, couldn't find any answers for your query")] NoResults, } |