libbot.errors package

Submodules

libbot.errors.config module

exception libbot.errors.config.ConfigKeyError(key: str | List[str])[source]

Bases: Exception

Raised when config key is not found.

Parameters:

key (str | List[str]) – Missing config key

exception libbot.errors.config.ConfigValueError(key: str | List[str], value: Any | None = None)[source]

Bases: Exception

Raised when config key’s value is invalid.

Parameters:
  • key (str | List[str]) – Invalid config key

  • value (Optional[Any]) – Key’s correct value

Module contents