Sha256: 606184e6149b532658e055181292a9efd1c172cbe2c72429503e90a026739279
Contents?: true
Size: 852 Bytes
Versions: 18
Compression:
Stored size: 852 Bytes
Contents
module Adhearsion module VoIP module DSL module Dialplan # A ControlPassingException is used internally to stop execution of one # dialplan context and begin execution of another proc instead. It is # most notably used by the ~@ unary operator that can be called on a # context name within a dialplan to transfer control entirely to that # particular context. The serve() method in the servlet_container actually # rescues these exceptions specifically and then does +e.target to execute # that code. class ControlPassingException < StandardError attr_reader :target def initialize(target) super() @target = target end end class ContextNotFoundException < StandardError; end end end end end
Version data entries
18 entries across 18 versions & 3 rubygems