Function invalid_time

Source
pub fn invalid_time<T: Display>(time: T, reason: &str) -> CoreError
Expand description

Create time format error with time and reason

Generates a CoreError::InvalidTime with the invalid time string and explanation of the format issue.

ยงArguments

  • time - The invalid time format string
  • reason - Description of the format issue