Exception: SimpleXChat::UnexpectedResponseError

Inherits:
GenericError
  • Object
show all
Defined in:
lib/simplex-chat/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(type, expected_type) ⇒ UnexpectedResponseError

Returns a new instance of UnexpectedResponseError.



16
17
18
# File 'lib/simplex-chat/errors.rb', line 16

def initialize(type, expected_type)
  super "Unexpected response type: #{type} (expected: #{expected_type})"
end