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
« prev ^ index » next coverage.py v7.15.2, created at 2026-08-31 04:18 +0200
1"""UnknownContinuationIndicatorError class."""
3from .lexer import LexerError
6class UnknownContinuationIndicatorError(LexerError):
7 """No continuation indicator with this sequence."""
9 def __init__(self, value: bytes) -> None:
10 """
11 Error initialization.
13 Parameters
14 ----------
15 value: bytes
16 The unknown sequence.
18 """
20 super().__init__(
21 f"Unknown continuation indicator: {value.decode()}"
22 )