TODO or Die v0.1.0 TodoOrDie View Source

Link to this section Summary

Functions

Raises an exception when the task is overdue

Link to this section Functions

Link to this function

due(description, today \\ Date.utc_today(), list) View Source

Raises an exception when the task is overdue.

Examples

 iex> TodoOrDie.due("Remove this", by: ~D[2019-01-01])
 ** (TodoOrDie.OverdueError) TODO: "Remove this" came due on 2019-01-01. Do it!