mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-09 11:43:57 +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 serde::Deserialize;
|
||||||
use thiserror::Error;
|
use thiserror::Error;
|
||||||
|
|
||||||
//<editor-fold desc="download">
|
|
||||||
/// An error occurred after downloading a file.
|
/// An error occurred after downloading a file.
|
||||||
#[derive(Debug, Error, From)]
|
#[derive(Debug, Error, From)]
|
||||||
pub enum DownloadError {
|
pub enum DownloadError {
|
||||||
|
@ -14,9 +13,6 @@ pub enum DownloadError {
|
||||||
Io(#[source] std::io::Error),
|
Io(#[source] std::io::Error),
|
||||||
}
|
}
|
||||||
|
|
||||||
//</editor-fold>
|
|
||||||
|
|
||||||
//<editor-fold desc="request">
|
|
||||||
/// An error occurred after making a request to Telegram.
|
/// An error occurred after making a request to Telegram.
|
||||||
#[derive(Debug, Error)]
|
#[derive(Debug, Error)]
|
||||||
pub enum RequestError {
|
pub enum RequestError {
|
||||||
|
@ -40,8 +36,6 @@ pub enum RequestError {
|
||||||
InvalidJson(#[source] serde_json::Error),
|
InvalidJson(#[source] serde_json::Error),
|
||||||
}
|
}
|
||||||
|
|
||||||
//</editor-fold>
|
|
||||||
|
|
||||||
/// A kind of an API error returned from Telegram.
|
/// A kind of an API error returned from Telegram.
|
||||||
#[derive(Debug, Deserialize, PartialEq, Copy, Hash, Eq, Clone)]
|
#[derive(Debug, Deserialize, PartialEq, Copy, Hash, Eq, Clone)]
|
||||||
pub enum ApiErrorKind {
|
pub enum ApiErrorKind {
|
||||||
|
|
Loading…
Reference in a new issue