Exception: ROF::Translators::JsonldToRof::Accumulator::TooManyElementsError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- ROF::Translators::JsonldToRof::Accumulator::TooManyElementsError
- Defined in:
- lib/rof/translators/jsonld_to_rof/accumulator.rb
Instance Method Summary collapse
-
#initialize(context, expected_count, got_count) ⇒ TooManyElementsError
constructor
A new instance of TooManyElementsError.
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 |