Exception: OpenEHR::Parser::Exception::Validation::InstanceNonConformant
- Inherits:
-
Base
- Object
- RuntimeError
- Base
- OpenEHR::Parser::Exception::Validation::InstanceNonConformant
- Defined in:
- lib/openehr/parser/exception.rb
Overview
Raised by ArchetypeValidator#validate_instance for an RM instance that does not conform to an archetype's definition; not one of the VARID..VDFPT archetype-structure rules, since this checks an RM instance against the archetype instead.
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(message, path = nil) ⇒ InstanceNonConformant
constructor
A new instance of InstanceNonConformant.
Constructor Details
#initialize(message, path = nil) ⇒ InstanceNonConformant
Returns a new instance of InstanceNonConformant.
71 72 73 74 |
# File 'lib/openehr/parser/exception.rb', line 71 def initialize(, path = nil) super() @path = path end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
69 70 71 |
# File 'lib/openehr/parser/exception.rb', line 69 def path @path end |