From 4c044c28559f356883e4ab3cec437bbb20ce7f89 Mon Sep 17 00:00:00 2001 From: Cara Salter Date: Fri, 10 Jun 2022 14:40:56 -0400 Subject: planets: Create new planets Star systems in the palm of your keyboard! --- src/errors.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/errors.rs') diff --git a/src/errors.rs b/src/errors.rs index b22932f..e0a6df9 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -15,6 +15,12 @@ pub enum ServiceError { #[error("Not Found")] NotFound, + + #[error("Reqwest: {0}")] + Reqwest(#[from] reqwest::Error), + + #[error("Command error: {0}")] + Command(#[from] std::io::Error) } pub type StringResult = std::result::Result; -- cgit v1.2.3