Skip to content

Exceptions

Error

Error(*args, **kwargs)

Bases: Exception

The base class of the error.

__error_text__

__error_text__(*args, **kwargs)

Error text generator.

Yields:

Type Description
Optional[str]

Generator[Optional[str], Any, None]: Returns the error text.

LanguageNotExistError

LanguageNotExistError(*args, **kwargs)

Bases: Error

The error class indicates that the translation file is missing.

LanguageNotLoadedError

LanguageNotLoadedError(*args, **kwargs)

Bases: Error

The error class indicates an unloaded translation file.

NotBooleanError

NotBooleanError(data)

Bases: Exception

Exception class indicating an error when converting data to bool.

PathNotExistsError

PathNotExistsError(path)

Bases: Exception

An exception class indicating the absence of a path.