Exception: ROF::Translators::JsonldToRof::Accumulator::TooManyElementsError

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

Instance Method Summary collapse

Constructor Details

#initialize(context, expected_count, got_count) ⇒ TooManyElementsError

Returns a new instance of TooManyElementsError.



75
76
77
# File 'lib/rof/translators/jsonld_to_rof/accumulator.rb', line 75

def initialize(context, expected_count, got_count)
  super(%(Expected #{expected_count} in "#{context}" but instead got #{got_count}))
end