smbache / ensurer

Ensure values are as expected at runtime
Other
84 stars 4 forks source link

illustrate how to write multiple custom messages #11

Closed almartin82 closed 9 years ago

almartin82 commented 9 years ago

On my first attempt I wrote one ~ "custom message" at the end. An example with multiple specified conditions helps show the relationship between the conditions and the error messages.