Exception: MTProto::UnexpectedConstructorError

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

Instance Method Summary collapse

Constructor Details

#initialize(constructor) ⇒ UnexpectedConstructorError

Returns a new instance of UnexpectedConstructorError.



29
30
31
# File 'lib/mtproto/errors.rb', line 29

def initialize(constructor)
  super("Unexpected constructor: 0x#{constructor.to_s(16)}")
end