Exception: InvalidUrlException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/nps/api_exception.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.error_message_with_url(url) ⇒ Object



24
25
26
# File 'lib/nps/api_exception.rb', line 24

def self.error_message_with_url (url)
  "Invalid URL - #{url}"
end

Instance Method Details

#messageObject



20
21
22
# File 'lib/nps/api_exception.rb', line 20

def message
  "Invalid URL"
end