Sha256: 0b7ebe4c2c0226c4a20bdefd737e799f3222e9e9afc11cc163723f4ceebca57e
Contents?: true
Size: 882 Bytes
Versions: 16
Compression:
Stored size: 882 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 < Exception attr_reader :target def initialize(target) super() @target = target end end class ContextNotFoundException < Exception; end end end end end
Version data entries
16 entries across 16 versions & 7 rubygems