mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-08 19:33:53 +01:00
removed editor-folds
This commit is contained in:
parent
96a92b6ec2
commit
fe8146767e
1 changed files with 0 additions and 6 deletions
|
@ -3,7 +3,6 @@ use reqwest::StatusCode;
|
|||
use serde::Deserialize;
|
||||
use thiserror::Error;
|
||||
|
||||
//<editor-fold desc="download">
|
||||
/// An error occurred after downloading a file.
|
||||
#[derive(Debug, Error, From)]
|
||||
pub enum DownloadError {
|
||||
|
@ -14,9 +13,6 @@ pub enum DownloadError {
|
|||
Io(#[source] std::io::Error),
|
||||
}
|
||||
|
||||
//</editor-fold>
|
||||
|
||||
//<editor-fold desc="request">
|
||||
/// An error occurred after making a request to Telegram.
|
||||
#[derive(Debug, Error)]
|
||||
pub enum RequestError {
|
||||
|
@ -40,8 +36,6 @@ pub enum RequestError {
|
|||
InvalidJson(#[source] serde_json::Error),
|
||||
}
|
||||
|
||||
//</editor-fold>
|
||||
|
||||
/// A kind of an API error returned from Telegram.
|
||||
#[derive(Debug, Deserialize, PartialEq, Copy, Hash, Eq, Clone)]
|
||||
pub enum ApiErrorKind {
|
||||
|
|
Loading…
Reference in a new issue