Exceptions

Smarter Extension exceptions.

exception smarter.apps.llmtool.extension.exceptions.SmarterExtensionArchiveError(message='')[source]

Bases: SmarterExtensionException

An extension archive is not a valid zip file, is too large, or is laid out incorrectly.

property get_formatted_err_message
exception smarter.apps.llmtool.extension.exceptions.SmarterExtensionException(message='')[source]

Bases: SmarterException

Base class for all Smarter Extension exceptions.

property get_formatted_err_message
exception smarter.apps.llmtool.extension.exceptions.SmarterExtensionInstallError(message='')[source]

Bases: SmarterExtensionException

An extension cannot be installed, updated or enabled, e.g. because it is incompatible with this platform.

property get_formatted_err_message
exception smarter.apps.llmtool.extension.exceptions.SmarterExtensionLoadError(message='')[source]

Bases: SmarterExtensionException

An installed extension’s code could not be imported, or its tools are not valid.

property get_formatted_err_message
exception smarter.apps.llmtool.extension.exceptions.SmarterExtensionManifestError(message='')[source]

Bases: SmarterExtensionException

An extension’s pyproject.toml is missing, or is not a valid extension manifest.

property get_formatted_err_message
exception smarter.apps.llmtool.extension.exceptions.SmarterExtensionRegistryError(message='')[source]

Bases: SmarterExtensionException

The extension registry could not be reached, or its index is not valid or not authentic.

property get_formatted_err_message