rsmycqu 0.2.1

A Rust library for interacting with Chonqing University services, including SSO authentication, campus card management, and more.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! [Session]使用错误

use reqwest::Error as ReqwestError;
use snafu::prelude::*;

/// [Session]使用错误
#[derive(Debug, Snafu)]
#[snafu(visibility(pub(crate)))]
pub enum SessionError {
    #[snafu(transparent)]
    /// 由于`reqwest`错误导致的错误
    Build {
        /// 错误信息
        source: ReqwestError,
    },
}