robotech 1.5.0

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
14
use std::io;
use thiserror::Error;

#[derive(Error, Debug)]
pub enum EnvError {
    #[error("Failed to get application path: {0}")]
    GetAppPath(io::Error),
    #[error("Failed to get application file name")]
    GetAppFileName(),
    #[error("Failed to set APP_ENV")]
    SetAppEnv(),
    #[error("Failed to get APP_ENV")]
    GetAppEnv(),
}