whoward / cadenza

parser and renderer library for liquid-like templates
13 stars 6 forks source link

Start adding error codes to executable #15

Closed joefiorini closed 11 years ago

joefiorini commented 11 years ago

In the app I'm building, I need to be able to determine exactly what went wrong if Cadenza fails. I've implemented one of BSD's [recommended exit codes][sysexits] for Cadenza::TemplateNotFoundError. Hopefully before long we'll have all of our error cases covered.

whoward commented 11 years ago

looks good to me, definitely a good idea