MCPcopy Index your code
hub / github.com/python/cpython / ErrorDirectiveError

Class ErrorDirectiveError

Tools/c-analyzer/c_parser/preprocessor/errors.py:69–77  ·  view source on GitHub ↗

The file hit a #error directive.

Source from the content-addressed store, hash-verified

67
68
69class ErrorDirectiveError(PreprocessorFailure):
70 """The file hit a #error directive."""
71
72 @classmethod
73 def _msg(cls, error, **ignored):
74 return f'#error directive hit ({error})'
75
76 def __init__(self, filename, argv, error, *args, **kwargs):
77 super().__init__(filename, argv, error, *args, **kwargs)
78
79
80class MissingDependenciesError(PreprocessorFailure):

Callers 1

convert_errorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…