Sha256: 7666a82ce9a26cdd76a4b6deb38ed3c9cdf48a6125179dc4d5d513e444c5a30d

Contents?: true

Size: 505 Bytes

Versions: 3

Compression:

Stored size: 505 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 [TD::Types::String] Error message; subject to future changes.
  class Error < Base
    attribute :code, TD::Types::Coercible::Integer
    attribute :message, TD::Types::String
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.4 lib/tdlib/types/error.rb
tdlib-schema-1.7.0.3 lib/tdlib/types/error.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/error.rb