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

Class MissingGeneratorOptionsConventionsError

scripts/generator.py:158–165  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

156
157
158class MissingGeneratorOptionsConventionsError(RuntimeError):
159 """Error raised when a Generator tries to do something that requires a Conventions object but it is None."""
160
161 def __init__(self, msg=None):
162 full_msg = 'Missing Conventions object self.genOpts.conventions'
163 if msg:
164 full_msg += f": {msg}"
165 super().__init__(full_msg)
166
167
168class GeneratorOptions:

Callers 6

endFeatureMethod · 0.90
enumToValueMethod · 0.85
buildEnumCDeclMethod · 0.85
beginFileMethod · 0.85
makeCParamDeclMethod · 0.85
getCParamTypeLengthMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected