Exception: Lutaml::Xsd::SchemaNotFoundError
- Defined in:
- lib/lutaml/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.
12 13 14 15 16 17 18 19 |
# File 'lib/lutaml/xsd/errors.rb', line 12 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.
10 11 12 |
# File 'lib/lutaml/xsd/errors.rb', line 10 def location @location end |
#searched_paths ⇒ Object (readonly)
Returns the value of attribute searched_paths.
10 11 12 |
# File 'lib/lutaml/xsd/errors.rb', line 10 def searched_paths @searched_paths end |
#suggestions ⇒ Object (readonly)
Returns the value of attribute suggestions.
10 11 12 |
# File 'lib/lutaml/xsd/errors.rb', line 10 def suggestions @suggestions end |