Exceptions

When using cihai via Python, catch project-specific failures through this module. All Cihai-specific exceptions inherit from CihaiException. Configuration validation on cihai.core.Cihai raises cihai.core.CihaiConfigError.

Exceptions raised from the Cihai library.

exception cihai.exc.CihaiException
exception[source]
exception[source]
exception cihai.exc.CihaiException

Bases: Exception

Base Cihai Exception class.

exception cihai.exc.ImportStringError
exception[source]
exception[source]
exception cihai.exc.ImportStringError

Bases: ImportError, CihaiException

Provides information about a failed cihai.utils.import_string() attempt.

Notes

This is from werkzeug.utils d36aaf1 on August 20 2022, LICENSE BSD. https://github.com/pallets/werkzeug

Changes: - Deferred load import import_string from cihai.util - Format with black