Class: Sanford::InvalidHostError

Inherits:
BaseError
  • Object
show all
Defined in:
lib/sanford/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(host) ⇒ InvalidHostError

Returns a new instance of InvalidHostError.



23
24
25
# File 'lib/sanford/exceptions.rb', line 23

def initialize(host)
  super "A port must be configured or provided to run a server for '#{host}'"
end