Exception: Lutaml::Xml::Schema::Xsd::SchemaNotFoundError
- Defined in:
- lib/lutaml/xml/schema/xsd/errors.rb
Overview
Schema not found with helpful context
Instance Attribute Summary collapse
-
#location ⇒ Object
readonly
Returns the value of attribute location.
-
#searched_paths ⇒ Object
readonly
Returns the value of attribute searched_paths.
-
#suggestions ⇒ Object
readonly
Returns the value of attribute suggestions.
Instance Method Summary collapse
-
#initialize(location:, searched_paths: [], suggestions: []) ⇒ SchemaNotFoundError
constructor
A new instance of SchemaNotFoundError.
Constructor Details
#initialize(location:, searched_paths: [], suggestions: []) ⇒ SchemaNotFoundError
Returns a new instance of SchemaNotFoundError.
14 15 16 17 18 19 20 21 |
# File 'lib/lutaml/xml/schema/xsd/errors.rb', line 14 def initialize(location:, searched_paths: [], suggestions: []) @location = location @searched_paths = searched_paths @suggestions = suggestions = super() end |
Instance Attribute Details
#location ⇒ Object (readonly)
Returns the value of attribute location.
12 13 14 |
# File 'lib/lutaml/xml/schema/xsd/errors.rb', line 12 def location @location end |
#searched_paths ⇒ Object (readonly)
Returns the value of attribute searched_paths.
12 13 14 |
# File 'lib/lutaml/xml/schema/xsd/errors.rb', line 12 def searched_paths @searched_paths end |
#suggestions ⇒ Object (readonly)
Returns the value of attribute suggestions.
12 13 14 |
# File 'lib/lutaml/xml/schema/xsd/errors.rb', line 12 def suggestions @suggestions end |