Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
infiniteregrets committed Nov 20, 2024
1 parent 6b0d4be commit b2a2453
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b2a2453

Please sign in to comment.