Add error-handler option that takes a request
Merge pull request #18 from trptcolin/error-response-fn

Allow error-response to be a handler fn