Exception: Hootenanny::URI::InvalidSchemeError

Inherits:
Error
  • Object
show all
Defined in:
lib/hootenanny/errors.rb

Instance Method Summary collapse

Methods inherited from Error

#as_json, #to_h, wrap

Constructor Details

#initialize(message = 'Only HTTP and HTTPS URIs are allowed.') ⇒ InvalidSchemeError

Returns a new instance of InvalidSchemeError.



38
39
40
# File 'lib/hootenanny/errors.rb', line 38

def initialize(message = 'Only HTTP and HTTPS URIs are allowed.')
  super
end