Exception: Lutaml::Xsd::TypeNotFoundError

Inherits:
Error
  • Object
show all
Defined in:
lib/lutaml/xsd/errors.rb

Overview

Type not found with resolution path

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(qualified_name:, resolution_path: [], available_namespaces: []) ⇒ TypeNotFoundError

Returns a new instance of TypeNotFoundError.



47
48
49
50
51
52
53
54
55
# File 'lib/lutaml/xsd/errors.rb', line 47

def initialize(qualified_name:, resolution_path: [],
available_namespaces: [])
  @qualified_name = qualified_name
  @resolution_path = resolution_path
  @available_namespaces = available_namespaces

  message = build_message
  super(message)
end

Instance Attribute Details

#available_namespacesObject (readonly)

Returns the value of attribute available_namespaces.



45
46
47
# File 'lib/lutaml/xsd/errors.rb', line 45

def available_namespaces
  @available_namespaces
end

#qualified_nameObject (readonly)

Returns the value of attribute qualified_name.



45
46
47
# File 'lib/lutaml/xsd/errors.rb', line 45

def qualified_name
  @qualified_name
end

#resolution_pathObject (readonly)

Returns the value of attribute resolution_path.



45
46
47
# File 'lib/lutaml/xsd/errors.rb', line 45

def resolution_path
  @resolution_path
end