Add hooks for handling error
Update dispatcher_spec.rb
Merge pull request #18 from payrollhero/error_handling_hooks

Add hooks for handling error