adhearsion/ruby_ami — pull request #28 by chapmajs (2014-10-23 03:25:16+00:00)
Title: Add support for error handlers

This PR adds support for error handlers when sending AMI actions that may result in errors. One such situation involves sending a `ConfbridgeList`, which will return an AMI Error if zero people are active in the specified conference.

Behavior only differs from previous behavior if an error handler is passed to `send_action`. If an error is received when no error handler is defined, the action is aborted as before.