dissec.errors – Error definitions

exception dissec.errors.Error(message: str, /)

An error has occurred in a dissec function.

exception dissec.errors.DecodeError(message: str | None = None, /, *, line: int, column: int, offset: int)

An error has occurred while decoding something.

line: int

Line number, counting from 1.

column: int

Column number, counting from 1.

offset: int

Offset of the string.