Class: TD::Types::Error
- Defined in:
- lib/tdlib/types/error.rb
Overview
An object of this type can be returned on every function call, in case of an error.
Instance Attribute Summary collapse
-
#code ⇒ Integer
Error code; subject to future changes.
-
#message ⇒ TD::Types::String
Error message; subject to future changes.
Method Summary
Methods inherited from Base
Instance Attribute Details
#code ⇒ Integer
Error code; subject to future changes. If the error code is 406, the error message must not be processed in any way and must not be displayed to the user.
8 9 10 |
# File 'lib/tdlib/types/error.rb', line 8 def code @code end |
#message ⇒ TD::Types::String
Error message; subject to future changes.
8 9 10 |
# File 'lib/tdlib/types/error.rb', line 8 def @message end |