Exception: PSN::API::Error

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/psn/api.rb

Instance Method Summary collapse

Constructor Details

#initialize(url) ⇒ Error

Returns a new instance of Error.



43
44
45
# File 'lib/psn/api.rb', line 43

def initialize(url)
  super("#{url} is not working after #{RETRIES} retries. Please check.")
end