Sha256: 441e6943519162196e66e923e56104f299d3e98c80d744bfe9478e5970afb501

Contents?: true

Size: 483 Bytes

Versions: 4

Compression:

Stored size: 483 Bytes

Contents

module TD::Types
  # An object of this type can be returned on every function call, in case of an error.
  #
  # @attr 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.
  # @attr message [String] Error message; subject to future changes.
  class Error < Base
    attribute :code, TD::Types::Integer
    attribute :message, TD::Types::String
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
tdlib-schema-1.7.0.1 lib/tdlib/types/error.rb
tdlib-ruby-2.2.0 lib/tdlib/types/error.rb
tdlib-ruby-2.1.0 lib/tdlib/types/error.rb
tdlib-ruby-2.0.0 lib/tdlib/types/error.rb