Sha256: 6df022156f6bce164ee86ac1b4e6d40dbf92820d2a584d11691c6296869aefd0

Contents?: true

Size: 708 Bytes

Versions: 1

Compression:

Stored size: 708 Bytes

Contents

# frozen_string_literal: true
require 'vk/api/objects'
require 'vk/schema/namespace'

module Vk
  module API
    class Base < Vk::Schema::Namespace
      # @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
      class Error < Vk::Schema::Object
        # @return [Integer] Error code
        attribute :error_code, API::Types::Coercible::Int.optional
        # @return [String] Error message
        attribute :error_msg, API::Types::Coercible::String.optional
        # @return [Array] @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
        attribute :request_params, API::Types::Coercible::Array.member(API::Base::RequestParam).optional
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vk-0.99.5.53.alpha lib/vk/api/base/error.rb