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
13
use crate::env::EnvError;
use config::ConfigError;
use thiserror::Error;

#[derive(Error, Debug)]
pub enum CfgError {
    #[error("{0}")]
    GetEnv(#[from] EnvError),
    #[error("Fail to build config: {0}")]
    Build(ConfigError),
    #[error("Fail to deserialize config: {0}")]
    Deserialize(ConfigError),
}