api_errtype/
lib.rs

1mod list;
2pub use api_response::error_code::ErrType;
3pub use list::*;
4
5#[cfg(test)]
6mod tests {
7    use super::*;
8
9    #[test]
10    fn it_works() {
11        assert_eq!(
12            if cfg!(feature = "chinese_description") {
13                "用户端错误 ErrType(1000)"
14            } else {
15                "User Error ErrType(1000)"
16            },
17            ET_USER.to_string()
18        );
19    }
20}