Skip to content

Commit

Permalink
Impl Error for EnvironmentParseError
Browse files Browse the repository at this point in the history
  • Loading branch information
MaeIsBad committed Oct 18, 2024
1 parent 24d9d23 commit 411ed3a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to

## [Unreleased]

### Added

- Error impl for EnvironmentParseError

---

## [0.13.0] - 2024-10-09
Expand Down
2 changes: 2 additions & 0 deletions src/config/environment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ impl Display for Environment {
#[derive(Debug)]
pub struct EnvironmentParseError(String);

impl Error for EnvironmentParseError {}

impl Display for EnvironmentParseError {
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
f.write_fmt(format_args!(
Expand Down

0 comments on commit 411ed3a

Please sign in to comment.