From b2a2453098cf2237935bca50921da1c33814c970 Mon Sep 17 00:00:00 2001 From: Mehul Arora Date: Wed, 20 Nov 2024 15:38:10 -0500 Subject: [PATCH] . --- src/error.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/error.rs b/src/error.rs index 9c85ade..a9651b0 100644 --- a/src/error.rs +++ b/src/error.rs @@ -51,8 +51,8 @@ pub enum S2CliError { Service(#[from] ServiceError), } -// Error for holding relevant info from `tonic::Status` -#[derive(Error, Debug, Default)] +/// Error for holding relevant info from `tonic::Status` +#[derive(thiserror::Error, Debug, Default)] #[error("{status}: \n{message}")] pub struct ServiceStatus { pub message: String,