From 411ed3a4a6578b220241d3137d32b74e79a8e869 Mon Sep 17 00:00:00 2001 From: mae <26093674+MaeIsBad@users.noreply.github.com> Date: Fri, 18 Oct 2024 10:27:10 +0200 Subject: [PATCH] Impl Error for EnvironmentParseError --- CHANGELOG.md | 4 ++++ src/config/environment.rs | 2 ++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index bc0fc6b..806a07d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ and this project adheres to ## [Unreleased] +### Added + +- Error impl for EnvironmentParseError + --- ## [0.13.0] - 2024-10-09 diff --git a/src/config/environment.rs b/src/config/environment.rs index 6af6dcc..555ed28 100644 --- a/src/config/environment.rs +++ b/src/config/environment.rs @@ -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!(