diff options
Diffstat (limited to 'src/error.rs')
-rw-r--r-- | src/error.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs index 00fad98..4d4a0af 100644 --- a/src/error.rs +++ b/src/error.rs @@ -38,6 +38,11 @@ error_chain! { display("Argument Error: Cannot calculate end-of-year on a {:?}", tt) } + CannotCalculateEndOfMonthOn(tt: TimeType) { + description("Argument Error: Cannot calculate end-of-month") + display("Argument Error: Cannot calculate end-of-month on a {:?}", tt) + } + } } |