Exception: MTProto::UnexpectedConstructorError
- Defined in:
- lib/mtproto/errors.rb
Instance Method Summary collapse
-
#initialize(constructor) ⇒ UnexpectedConstructorError
constructor
A new instance of UnexpectedConstructorError.
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 |