Sha256: fb2c112112a3787e9e801bb5b76844db01ddc21698aec77289c0ffe26c95f063
Contents?: true
Size: 492 Bytes
Versions: 3
Compression:
Stored size: 492 Bytes
Contents
# encoding: utf-8 require 'adhearsion/error' module Adhearsion module Rayo ## # This exception may be raised if the connection to the server is interrupted. class DisconnectedError < Error attr_accessor :cause, :message def initialize(cause = nil, message = nil) @cause, @message = cause, message end def to_s "#<#{self.class}: cause=#{cause.inspect} message=#{message.inspect}" end alias :inspect :to_s end end end
Version data entries
3 entries across 3 versions & 1 rubygems