zslayton / cron

A cron expression parser in Rust
Apache License 2.0
376 stars 69 forks source link

handle zero range step #110

Closed sqwishy closed 2 years ago

sqwishy commented 2 years ago

see #105

sqwishy commented 2 years ago

The error message doesn't actually bubble up, looks like it gets swallowed in parsing.rs:25 or so

            Err(_) => Err(ErrorKind::Expression("Invalid cron expression.".to_owned()).into()), //TODO: Details