Exception: DeepConnect::PeerSideException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/deep-connect/event.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(exp) ⇒ PeerSideException

Returns a new instance of PeerSideException.



14
15
16
17
18
19
20
21
22
23
# File 'lib/deep-connect/event.rb', line 14

def initialize(exp)
#Fairy::Log.debug(self, exp.inspect)
  begin 
	m = exp.message
  rescue
	m = "(NoMessage from PeerSide)"
  end
  super(m)
  @peer_exception = exp
end

Instance Attribute Details

#peer_exceptionObject (readonly)

Returns the value of attribute peer_exception.



25
26
27
# File 'lib/deep-connect/event.rb', line 25

def peer_exception
  @peer_exception
end