Exception: BeerList::NoUrlError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/beer_list/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil) ⇒ NoUrlError

Returns a new instance of NoUrlError.



11
12
13
14
# File 'lib/beer_list/exceptions.rb', line 11

def initialize(msg=nil)
  msg ||= "No url was specified and no default_url exists"
  super msg
end