mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-23 15:01:45 +01:00
fmt
This commit is contained in:
parent
193dd69265
commit
41afdb554d
1 changed files with 3 additions and 3 deletions
|
@ -22,11 +22,11 @@ pub enum DownloadError {
|
|||
pub enum RequestError {
|
||||
/// Telegram API error
|
||||
#[error("A Telegram's error #{status_code}: {kind:?}")]
|
||||
ApiError {
|
||||
ApiError {
|
||||
/// Kind of api error
|
||||
kind: ApiError,
|
||||
kind: ApiError,
|
||||
/// HTTP code returned by telegram, not very usefull in practice.
|
||||
status_code: StatusCode ,
|
||||
status_code: StatusCode,
|
||||
},
|
||||
|
||||
/// The group has been migrated to a supergroup with the specified
|
||||
|
|
Loading…
Reference in a new issue