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.
11 12 13 |
# File 'lib/steam-api/exceptions.rb', line 11 def initialize(error = 'The API returned an unexpected JSON response') super(error) end |