Class: Vk::API::Base::Error
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Base::Error
- Defined in:
- lib/vk/api/base/error.rb
Overview
Instance Method Summary collapse
-
#error_code ⇒ Integer
Error code.
-
#error_msg ⇒ String
Error message.
- #request_params ⇒ Array
Instance Method Details
#error_code ⇒ Integer
Returns Error code.
11 |
# File 'lib/vk/api/base/error.rb', line 11 attribute :error_code, API::Types::Coercible::Int.optional.default(nil) |
#error_msg ⇒ String
Returns Error message.
13 |
# File 'lib/vk/api/base/error.rb', line 13 attribute :error_msg, API::Types::Coercible::String.optional.default(nil) |
#request_params ⇒ Array
15 |
# File 'lib/vk/api/base/error.rb', line 15 attribute :request_params, API::Types::Coercible::Array.member(API::Base::RequestParam).optional.default(nil) |