Exception: DeepConnect::PeerSideException
- Defined in:
- lib/deep-connect/event.rb
Instance Attribute Summary collapse
-
#peer_exception ⇒ Object
readonly
Returns the value of attribute peer_exception.
Instance Method Summary collapse
-
#initialize(exp) ⇒ PeerSideException
constructor
A new instance of PeerSideException.
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. rescue m = "(NoMessage from PeerSide)" end super(m) @peer_exception = exp end |
Instance Attribute Details
#peer_exception ⇒ Object (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 |