Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/utils/from_env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ pub struct EnvItemInfo {
#[derive(Debug, Clone, PartialEq, Eq, thiserror::Error)]
pub enum FromEnvErr<Inner> {
/// The environment variable is missing.
#[error("Error reading variable {0}: {1}")]
#[error("error reading variable {0}: {1}")]
EnvError(String, VarError),
/// The environment variable is empty.
#[error("Environment variable {0} is empty")]
#[error("environment variable {0} is empty")]
Empty(String),
/// The environment variable is present, but the value could not be parsed.
#[error("Failed to parse environment variable {0}")]
#[error("failed to parse environment variable {0}")]
ParseError(#[from] Inner),
}

Expand Down
Loading