carsongross/ronin — pull request #2 by coryfoo (2012-01-26 18:49:03+00:00)
Title: Add CustomHttpException and default to TESTING mode

Sometimes you want to be able to throw exceptions that aren't 500 errors. I added this CustomHttpException class that users can subclass to throw whatever exception they like (400, 401, etc).

Also, when writing tests, I discovered places where the Ronin Mode was being accessed but it hadn't been set. I default it to TESTING in this case which I think makes sense because with typical Ronin startup it will get initiated at the beginning.