Total Complexity | 1 |
Total Lines | 8 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | from typing import Sequence |
||
2 | |||
3 | # Errors for the console 2.1 |
||
4 | class ConsoleErrors(Exception): |
||
5 | def __init__(self, *args, errors: Sequence[str]): |
||
6 | super().__init__(*args) |
||
7 | self.errors = errors |
||
8 |