Exception: Blather::UnknownResponse

Inherits:
BlatherError
  • Object
show all
Defined in:
lib/blather/errors.rb

Overview

The stream handler received a response it didn’t know how to handle

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from BlatherError

handler_list, #id, register

Constructor Details

#initialize(node) ⇒ UnknownResponse

Returns a new instance of UnknownResponse.



52
53
54
# File 'lib/blather/errors.rb', line 52

def initialize(node)
  @node = node
end

Instance Attribute Details

#nodeObject (readonly)

Returns the value of attribute node.



50
51
52
# File 'lib/blather/errors.rb', line 50

def node
  @node
end