From dca32c260c0ecd85e01a7bbef07192bc4c8a2290 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 14 Mar 2021 03:32:18 +0100 Subject: Wrap errors in a custom `OttolangyError` type Give us a way to match on the type of error so we can return an appropriate exit code. --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index ad95cec..97e4592 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,5 +6,6 @@ edition = "2018" [dependencies] anyhow = "1.0.38" mailparse = "0.13.2" +thiserror = "1.0.24" whatlang = "0.11.1" xdg = "2.2.0" -- cgit v1.2.3