serby/control — pull request #82 by tomgco (2012-06-13 12:43:04+00:00)
Title: Removing switch statement and adding page and StatusCode to the Error object

I was finding it difficult to extend httpErrorHandler to provide support for custom Errors.

The proposed change moves the variables `page` and `statusCode` to the Error Object.