From 5faead751cec7c78ed3d0a3f3606f82c78c90c9c Mon Sep 17 00:00:00 2001 From: bconn98 Date: Tue, 9 Jul 2024 22:42:42 -0400 Subject: [PATCH] refactor: interval error message --- .../rolling_file/policy/compound/trigger/time.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/append/rolling_file/policy/compound/trigger/time.rs b/src/append/rolling_file/policy/compound/trigger/time.rs index 4405abbb..0a09ed88 100644 --- a/src/append/rolling_file/policy/compound/trigger/time.rs +++ b/src/append/rolling_file/policy/compound/trigger/time.rs @@ -74,15 +74,15 @@ impl Default for TimeTriggerInterval { #[derive(Debug, Error)] enum TimeTrigerIntervalError { - #[error("The 'Seconds' value specified as a time trigger is out of bounds, ensure it fits within an i64: : '{0:?}'")] + #[error("The 'Seconds' time trigger interval value is out of bounds, ensure it fits within an i64: : '{0:?}'")] Second(TimeTriggerInterval), - #[error("The 'Minutes' value specified as a time trigger is out of bounds, ensure it fits within an i64: : '{0:?}'")] + #[error("The 'Minutes' time trigger interval value is out of bounds, ensure it fits within an i64: : '{0:?}'")] Minute(TimeTriggerInterval), - #[error("The 'Hours' value specified as a time trigger is out of bounds, ensure it fits within an i64: : '{0:?}'")] + #[error("The 'Hours' time trigger interval value is out of bounds, ensure it fits within an i64: : '{0:?}'")] Hour(TimeTriggerInterval), - #[error("The 'Days' value specified as a time trigger is out of bounds, ensure it fits within an i64: : '{0:?}'")] + #[error("The 'Days' time trigger interval value is out of bounds, ensure it fits within an i64: : '{0:?}'")] Day(TimeTriggerInterval), - #[error("The 'Weeks' value specified as a time trigger is out of bounds, ensure it fits within an i64: : '{0:?}'")] + #[error("The 'Weeks' time trigger interval value is out of bounds, ensure it fits within an i64: : '{0:?}'")] Week(TimeTriggerInterval), }