Exception: ROF::Translators::JsonldToRof::PredicateHandler::UnhandledPredicateError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/rof/translators/jsonld_to_rof/predicate_handler.rb

Instance Method Summary collapse

Constructor Details

#initialize(predicate, urls) ⇒ UnhandledPredicateError

Returns a new instance of UnhandledPredicateError.



14
15
16
# File 'lib/rof/translators/jsonld_to_rof/predicate_handler.rb', line 14

def initialize(predicate, urls)
  super(%(Unable to handle predicate "#{predicate}". The following predicate URLs were registered #{urls.inspect}))
end