Class: Lutaml::Model::UndefinedAttributeError

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

Instance Method Summary collapse

Constructor Details

#initialize(attr_name, klass) ⇒ UndefinedAttributeError

Returns a new instance of UndefinedAttributeError.



4
5
6
# File 'lib/lutaml/model/error/undefined_attribute_error.rb', line 4

def initialize(attr_name, klass)
  super("#{attr_name} is not defined in #{klass}")
end