oauth/
lib.rs

1#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
2#![doc = include_str!("../README.md")]
3
4pub mod v2_0;
5
6use thiserror::Error;
7
8/// The global `Result` alias of the library.
9pub type Result<T> = std::result::Result<T, Error>;
10
11/// The global `Error` enum of the library.
12#[derive(Debug, Error)]
13pub enum Error {
14    #[error(transparent)]
15    V2_0Error(#[from] v2_0::Error),
16}