//! This module contains the [`ErrorKind`] enum,
//! which is a wrapper for any error that can occur when processing sending request to the Telegram Bot API and parsing responses from it.
//! Usually it's a wrapper for [`TelegramErrorKind`] errors,
//! but it can also been a wrapper for any other error that can occur when sending request or parsing response, for example [`serde_json::Error`].
//!
//! Possible Telegram Bot API errors are described in enum [`TelegramErrorKind`], check it out.
use TelegramErrorKind;
use anyhow;
use thiserror;
/// A wrapper for any error that can occur when processing sending request to the Telegram Bot API and parsing responses from it.
/// Usually it's a wrapper for [`TelegramErrorKind`] errors,
/// but it can also been a wrapper for any other error that can occur when sending request or parsing response, for example [`serde_json::Error`].
/// Possible Telegram Bot API errors are described in enum [`TelegramErrorKind`], check it out.