Exception: Goodcheck::ImportLoader::UnexpectedSchemaError

Inherits:
Error
  • Object
show all
Defined in:
lib/goodcheck/import_loader.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(uri) ⇒ UnexpectedSchemaError

Returns a new instance of UnexpectedSchemaError.



6
7
8
9
# File 'lib/goodcheck/import_loader.rb', line 6

def initialize(uri)
  super("Unexpected URI schema: #{uri.scheme}")
  @uri = uri
end

Instance Attribute Details

#uriObject (readonly)

Returns the value of attribute uri.



4
5
6
# File 'lib/goodcheck/import_loader.rb', line 4

def uri
  @uri
end