Exception: Lutaml::Model::InvalidAttributeNameError
- Defined in:
- lib/lutaml/model/error/invalid_attribute_name_error.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ InvalidAttributeNameError
constructor
A new instance of InvalidAttributeNameError.
- #to_s ⇒ Object
Constructor Details
#initialize(name) ⇒ InvalidAttributeNameError
4 5 6 7 8 |
# File 'lib/lutaml/model/error/invalid_attribute_name_error.rb', line 4 def initialize(name) @name = name super() end |
Instance Method Details
#to_s ⇒ Object
10 11 12 |
# File 'lib/lutaml/model/error/invalid_attribute_name_error.rb', line 10 def to_s "Attribute name '#{@name}' is not allowed" end |