MCPcopy
hub / github.com/KhronosGroup/Vulkan-Docs / MissingRegistryError

Class MissingRegistryError

scripts/generator.py:148–155  ·  view source on GitHub ↗

Error raised when a Generator tries to do something that requires a Registry object but it is None.

Source from the content-addressed store, hash-verified

146
147
148class MissingRegistryError(RuntimeError):
149 """Error raised when a Generator tries to do something that requires a Registry object but it is None."""
150
151 def __init__(self, msg=None):
152 full_msg = 'Missing Registry object self.registry'
153 if msg:
154 full_msg += f": {msg}"
155 super().__init__(full_msg)
156
157
158class MissingGeneratorOptionsConventionsError(RuntimeError):

Callers 4

typeMayAliasMethod · 0.90
getHandleParentMethod · 0.85
getTypeCategoryMethod · 0.85
isStructAlwaysValidMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected