robotech 1.6.2

Backend service implementation for the RoboTech platform, providing RESTful APIs and business logic for web applications.
1
2
3
4
5
6
7
8
9
10
11
12
use crate::cfg::CfgError;
use thiserror::Error;

#[derive(Error, Debug)]
pub enum AppError {
    #[error("Get APP_CONFIG error")]
    GetAppConfig(),
    #[error("Set APP_CONFIG error")]
    SetAppConfig(),
    #[error("Config error: {0}")]
    Cfg(#[from] CfgError),
}