Exception: Steam::JSONError
- Inherits:
-
StandardError
- Object
- StandardError
- Steam::JSONError
- Defined in:
- lib/steam-api/exceptions.rb
Overview
Error returning the requested object from the Steam API
Instance Method Summary collapse
-
#initialize(error = 'The API returned an unexpected JSON response') ⇒ JSONError
constructor
A new instance of JSONError.
Constructor Details
#initialize(error = 'The API returned an unexpected JSON response') ⇒ JSONError
Returns a new instance of JSONError.
19 20 21 |
# File 'lib/steam-api/exceptions.rb', line 19 def initialize(error = 'The API returned an unexpected JSON response') super(error) end |