Coverage for src/galaxy_beep_frame/exception/converter/unknown_continuation_indicator.py: 100%

4 statements  

« prev     ^ index     » next       coverage.py v7.15.2, created at 2026-08-31 04:18 +0200

1"""UnknownContinuationIndicatorError class.""" 

2 

3from .lexer import LexerError 

4 

5 

6class UnknownContinuationIndicatorError(LexerError): 

7 """No continuation indicator with this sequence.""" 

8 

9 def __init__(self, value: bytes) -> None: 

10 """ 

11 Error initialization. 

12 

13 Parameters 

14 ---------- 

15 value: bytes 

16 The unknown sequence. 

17 

18 """ 

19 

20 super().__init__( 

21 f"Unknown continuation indicator: {value.decode()}" 

22 )