module documentation
Undocumented
Class |
|
Representation of a single error message. |
Class |
|
Container for compile errors. |
Class |
|
Context manager that can be used to keep track of new errors recorded around a given operation. |
Exception |
|
Exception raised when there is a compile error. |
Function | remove |
If path starts with prefix, return copy of path with the prefix removed. Otherwise, return path. If path is None, return None. |
Function | report |
Report internal error and exit. |
Constant | allowed |
Undocumented |
Constant | original |
Undocumented |
Constant | SHOW |
Undocumented |
Type Variable | T |
Undocumented |
Type Alias |
|
Undocumented |
If path starts with prefix, return copy of path with the prefix removed. Otherwise, return path. If path is None, return None.
def report_internal_error(err:
Exception
, file: str|None
, line: int
, errors: Errors
, options: Options
, stdout: TextIO|None
= None, stderr: TextIO|None
= None) -> NoReturn
:
(source)
¶
Report internal error and exit. This optionally starts pdb or shows a traceback.