Emits an error when the config value is invalid.
(name: str, api: SemanticAnalyzerPluginInterface, context: Context)
| 1268 | |
| 1269 | |
| 1270 | def error_invalid_config_value(name: str, api: SemanticAnalyzerPluginInterface, context: Context) -> None: |
| 1271 | """Emits an error when the config value is invalid.""" |
| 1272 | api.fail(f'Invalid value for "Config.{name}"', context, code=ERROR_CONFIG) |
| 1273 | |
| 1274 | |
| 1275 | def error_required_dynamic_aliases(api: SemanticAnalyzerPluginInterface, context: Context) -> None: |