Skip to content

Commit

Permalink
💬 BadRequest::description is self-explanatory
Browse files Browse the repository at this point in the history
  • Loading branch information
eigenein committed Nov 20, 2024
1 parent 61fd55a commit 7d3317d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/telegram/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub enum TelegramError {
retry_after: RetryAfterParameters,
},

#[error("bad request: {description}")]
#[error("{description}")]
BadRequest { ok: MustBe!(false), description: String, error_code: MustBe!(400) },

#[error("API error {error_code}: {description}")]
Expand Down

0 comments on commit 7d3317d

Please sign in to comment.