Exception: Lutaml::Model::NoRootMappingError

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

Instance Method Summary collapse

Constructor Details

#initialize(model) ⇒ NoRootMappingError

Returns a new instance of NoRootMappingError.



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

def initialize(model)
  super("#{model} has `no_root`, it allowed only for reusable models")
end