Exception: ROF::Translators::JsonldToRof::PredicateHandler::UnhandledPredicateError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- ROF::Translators::JsonldToRof::PredicateHandler::UnhandledPredicateError
- Defined in:
- lib/rof/translators/jsonld_to_rof/predicate_handler.rb
Instance Method Summary collapse
-
#initialize(predicate, urls) ⇒ UnhandledPredicateError
constructor
A new instance of UnhandledPredicateError.
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 |