Exception: SimpleSpotify::Error::NotFound

Inherits:
DefaultError
  • Object
show all
Defined in:
lib/simplespotify/errors.rb

Instance Attribute Summary

Attributes inherited from DefaultError

#body, #code, #message, #request

Instance Method Summary collapse

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