Error raised when a Generator tries to do something that requires GeneratorOptions but it is None.
| 136 | orderedFeatureNames.sort(key=lambda name: features[name].sortorder) |
| 137 | |
| 138 | class MissingGeneratorOptionsError(RuntimeError): |
| 139 | """Error raised when a Generator tries to do something that requires GeneratorOptions but it is None.""" |
| 140 | |
| 141 | def __init__(self, msg=None): |
| 142 | full_msg = 'Missing generator options object self.genOpts' |
| 143 | if msg: |
| 144 | full_msg += f": {msg}" |
| 145 | super().__init__(full_msg) |
| 146 | |
| 147 | |
| 148 | class MissingRegistryError(RuntimeError): |
no outgoing calls
no test coverage detected