Exception: Lutaml::Model::InvalidAttributeNameError

Inherits:
Error
  • Object
show all
Defined in:
lib/lutaml/model/error/invalid_attribute_name_error.rb

Instance Method Summary collapse

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_sObject



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