Exception: SimpleSpotify::Error::NotFound
- Inherits:
-
DefaultError
- Object
- StandardError
- DefaultError
- SimpleSpotify::Error::NotFound
- Defined in:
- lib/simplespotify/errors.rb
Instance Attribute Summary
Attributes inherited from DefaultError
#body, #code, #message, #request
Instance Method Summary collapse
-
#initialize(code, body, request) ⇒ NotFound
constructor
A new instance of NotFound.
Constructor Details
#initialize(code, body, request) ⇒ NotFound
Returns a new instance of NotFound.
48 49 50 |
# File 'lib/simplespotify/errors.rb', line 48 def initialize code, body, request @message = "#{request.full_url} not found" end |