Exception: MTProto::NotConnectedError

Inherits:
Error
  • Object
show all
Defined in:
lib/mtproto/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'Not connected. Call connect first.') ⇒ NotConnectedError

Returns a new instance of NotConnectedError.



7
8
9
# File 'lib/mtproto/errors.rb', line 7

def initialize(msg = 'Not connected. Call connect first.')
  super
end