Skip to content

Commit 5faead7

Browse files
author
bconn98
committed
refactor: interval error message
1 parent 303d009 commit 5faead7

File tree

1 file changed

+5
-5
lines changed
  • src/append/rolling_file/policy/compound/trigger

1 file changed

+5
-5
lines changed

src/append/rolling_file/policy/compound/trigger/time.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,15 @@ impl Default for TimeTriggerInterval {
7474

7575
#[derive(Debug, Error)]
7676
enum TimeTrigerIntervalError {
77-
#[error("The 'Seconds' value specified as a time trigger is out of bounds, ensure it fits within an i64: : '{0:?}'")]
77+
#[error("The 'Seconds' time trigger interval value is out of bounds, ensure it fits within an i64: : '{0:?}'")]
7878
Second(TimeTriggerInterval),
79-
#[error("The 'Minutes' value specified as a time trigger is out of bounds, ensure it fits within an i64: : '{0:?}'")]
79+
#[error("The 'Minutes' time trigger interval value is out of bounds, ensure it fits within an i64: : '{0:?}'")]
8080
Minute(TimeTriggerInterval),
81-
#[error("The 'Hours' value specified as a time trigger is out of bounds, ensure it fits within an i64: : '{0:?}'")]
81+
#[error("The 'Hours' time trigger interval value is out of bounds, ensure it fits within an i64: : '{0:?}'")]
8282
Hour(TimeTriggerInterval),
83-
#[error("The 'Days' value specified as a time trigger is out of bounds, ensure it fits within an i64: : '{0:?}'")]
83+
#[error("The 'Days' time trigger interval value is out of bounds, ensure it fits within an i64: : '{0:?}'")]
8484
Day(TimeTriggerInterval),
85-
#[error("The 'Weeks' value specified as a time trigger is out of bounds, ensure it fits within an i64: : '{0:?}'")]
85+
#[error("The 'Weeks' time trigger interval value is out of bounds, ensure it fits within an i64: : '{0:?}'")]
8686
Week(TimeTriggerInterval),
8787
}
8888

0 commit comments

Comments
 (0)