Class: Vk::API::Errors::APIErrorUnknown
- Defined in:
- lib/vk/api/errors.rb
Instance Method Summary collapse
- #code ⇒ Object
-
#initialize(msg = 'Unknown error occurred') ⇒ APIErrorUnknown
constructor
A new instance of APIErrorUnknown.
Constructor Details
#initialize(msg = 'Unknown error occurred') ⇒ APIErrorUnknown
Returns a new instance of APIErrorUnknown.
12 13 14 |
# File 'lib/vk/api/errors.rb', line 12 def initialize(msg = 'Unknown error occurred') super end |
Instance Method Details
#code ⇒ Object
16 17 18 |
# File 'lib/vk/api/errors.rb', line 16 def code 1 end |