Exception: Room::RoomException

Inherits:
Exception
  • Object
show all
Defined in:
lib/vendor/xmpp4r/data/doc/xmpp4r/examples/advanced/minimuc.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(error, msg) ⇒ RoomException

Returns a new instance of RoomException.



16
17
18
# File 'lib/vendor/xmpp4r/data/doc/xmpp4r/examples/advanced/minimuc.rb', line 16

def initialize(error, msg)
  @error = Jabber::ErrorResponse.new(error, msg)
end

Instance Attribute Details

#errorObject (readonly)

Returns the value of attribute error.



15
16
17
# File 'lib/vendor/xmpp4r/data/doc/xmpp4r/examples/advanced/minimuc.rb', line 15

def error
  @error
end