1use std::env::VarError;
2use std::fmt::Debug;
3
4pub type Result<T, E> = ::std::result::Result<T, Error<E>>;
5
6#[derive(Debug)]
7pub enum Error<E>
8where
9 E: Debug,
10{
11 EnvVarError(VarError),
12 NotPresent(String),
13 ParseError {
14 key: String,
15 value: String,
16 cause: E,
17 },
18}