ultimate 0.1.0

Rust libraries
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use thiserror::Error;

pub type Result<T> = core::result::Result<T, Error>;

#[derive(Error, Debug)]
pub enum Error {
  #[error("Config missing env: {0}")]
  ConfigMissingEnv(&'static str),

  #[error("Config wrong format, need: {0}")]
  ConfigWrongFormat(&'static str),

  #[error(transparent)]
  ConfigError(#[from] config::ConfigError),

  #[error(transparent)]
  FusionUtilError(#[from] ultimate_common::Error),
}