blueheadpublishing/bookshop — pull request #42 by binaryactivist (2012-05-01 21:57:25+00:00)
Title: Added exceptions and fixed generator error/usage messages

I am not so sure about this commit and would like feedback. I started addressing issue 7 using exceptions. So this commit :

* Fixes issue 7 https://github.com/blueheadpublishing/bookshop/issues/7
* Adds exception classes
* Bypasses thor banner in order to avoid duplicate code

I am not so sure about the last one so I would like further feedback. Unfortunately I could not find an easy way to keep both thor standard usage messages and add new error messages.

Also I am not sure if there is a way other than using exceptions to interrupt a task of a Thor::Group (is there??) and that is why I think that adding exceptions was necessary .