Exception: Lutaml::Model::IncorrectSequenceError

Inherits:
Error
  • Object
show all
Defined in:
lib/lutaml/model/error/incorrect_sequence_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(defined_order_element, expected_order_element) ⇒ IncorrectSequenceError

Returns a new instance of IncorrectSequenceError.



4
5
6
# File 'lib/lutaml/model/error/incorrect_sequence_error.rb', line 4

def initialize(defined_order_element, expected_order_element)
  super("Element `#{expected_order_element}` does not match the expected sequence order element `#{defined_order_element}`")
end