Exception: NotAcceptable

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

Instance Method Summary collapse

Constructor Details

#initialize(msg) ⇒ NotAcceptable

Returns a new instance of NotAcceptable.



17
18
19
20
# File 'lib/urlshort.rb', line 17

def initialize(msg)
    puts "There was a problem with the short URL provided."
    puts msg
end