Class: Lutaml::Model::UnknownTypeError
- Defined in:
- lib/lutaml/model/error/unknown_type_error.rb
Instance Attribute Summary collapse
-
#available_types ⇒ Object
readonly
Returns the value of attribute available_types.
-
#context_id ⇒ Object
readonly
Returns the value of attribute context_id.
-
#type_name ⇒ Object
readonly
Returns the value of attribute type_name.
Instance Method Summary collapse
-
#initialize(type_name, context_id: nil, available_types: nil) ⇒ UnknownTypeError
constructor
Create a new UnknownTypeError.
Constructor Details
#initialize(type_name, context_id: nil, available_types: nil) ⇒ UnknownTypeError
Create a new UnknownTypeError.
11 12 13 14 15 16 17 18 |
# File 'lib/lutaml/model/error/unknown_type_error.rb', line 11 def initialize(type_name, context_id: nil, available_types: nil) @type_name = type_name @context_id = context_id @available_types = available_types = super() end |
Instance Attribute Details
#available_types ⇒ Object (readonly)
Returns the value of attribute available_types.
4 5 6 |
# File 'lib/lutaml/model/error/unknown_type_error.rb', line 4 def available_types @available_types end |
#context_id ⇒ Object (readonly)
Returns the value of attribute context_id.
4 5 6 |
# File 'lib/lutaml/model/error/unknown_type_error.rb', line 4 def context_id @context_id end |
#type_name ⇒ Object (readonly)
Returns the value of attribute type_name.
4 5 6 |
# File 'lib/lutaml/model/error/unknown_type_error.rb', line 4 def type_name @type_name end |