OS-6 Adds response data to on error events.
Merge pull request #72 from aaronchilcott/OS-6

OS-6 Adds response data to on error events.