Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/rich/errors.py: 100%

9 statements  

« prev     ^ index     » next       coverage.py v7.2.7, created at 2023-06-07 06:35 +0000

1class ConsoleError(Exception): 

2 """An error in console operation.""" 

3 

4 

5class StyleError(Exception): 

6 """An error in styles.""" 

7 

8 

9class StyleSyntaxError(ConsoleError): 

10 """Style was badly formatted.""" 

11 

12 

13class MissingStyle(StyleError): 

14 """No such style.""" 

15 

16 

17class StyleStackError(ConsoleError): 

18 """Style stack is invalid.""" 

19 

20 

21class NotRenderableError(ConsoleError): 

22 """Object is not renderable.""" 

23 

24 

25class MarkupError(ConsoleError): 

26 """Markup was badly formatted.""" 

27 

28 

29class LiveError(ConsoleError): 

30 """Error related to Live display.""" 

31 

32 

33class NoAltScreen(ConsoleError): 

34 """Alt screen mode was required."""