samsondav/rihanna

Improve error messages if Date given instead of DateTime for schedule/{2,3}

lpil opened this issue · 2 comments

lpil commented

The current error message is worse than the default NoClauseError in Elixir because it doesn't tell you which argument is the problem.

We can either improve the message or just let Elixir handle it with a NoClauseError.

Letting it drop through to a NoClauseError would be fine with me.

lpil commented

Alrighto, I'll do that. Thanks!