Pass the error to the handler.

If we have an error handler, inject the error into the payload so the handler
has access to it.
Merge pull request #11 from jmoses/master

Decorate the payload with the error for the error handler.