kaquel.errors – Error definitions

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

Bases: ValueError

An error has occurred in a Kaquel function.

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

Bases: Error

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.

exception kaquel.errors.LeadingWildcardsForbidden

Bases: Error

A leading wildcard was found, while the feature was disabled.

exception kaquel.errors.RenderError(message: str, /)

Bases: Error

An error has occurred while rendering a query.