Exception module#

Subpackage storing all galaxy_beep_frame exceptions.

exception galaxy_beep_frame.exception.BadEndError(value: bytes)#

End of a frame must be ENDrn.

exception galaxy_beep_frame.exception.BadHeaderEndError(value: int)#

End of header must be rn.

exception galaxy_beep_frame.exception.BaseError#

Base exception used by all exception from galaxy_beep_frame.

exception galaxy_beep_frame.exception.InvalidByteError(value: int, possible_values: str)#

Invalid byte received.

exception galaxy_beep_frame.exception.InvalidTokenTypeError(got: TokenType, expected: TokenType)#

Invalid token type.

exception galaxy_beep_frame.exception.LexerError#

General lexer error.

exception galaxy_beep_frame.exception.NoCurrentTokenError#

No current token to edit.

exception galaxy_beep_frame.exception.NodeCountError(count: int, name: str, expected: int = 1)#

Node count is wrong.

exception galaxy_beep_frame.exception.NodeNoneError#

Node data is None.

exception galaxy_beep_frame.exception.NotFoundError(element_name: str)#

Required element not found in the input.

exception galaxy_beep_frame.exception.TokenImmutableError(token: Token)#

Token is immutable.

exception galaxy_beep_frame.exception.TokenMutableError(token_type: TokenType)#

Token still mutable.

exception galaxy_beep_frame.exception.UnknownContinuationIndicatorError(value: bytes)#

No continuation indicator with this sequence.

exception galaxy_beep_frame.exception.UnknownMsgTypeError(value: bytes)#

No message type starting with this sequence.