geonature.utils.errors

Module Contents

geonature.utils.errors.log[source]

Erreurs propres à GN

exception geonature.utils.errors.GeoNatureError[source]

Bases: Exception

Common base class for all non-exit exceptions.

exception geonature.utils.errors.ConfigError(file, value)[source]

Bases: GeoNatureError

Configuration error class Quand un fichier de configuration n’est pas conforme aux attentes

__str__()[source]

Return str(self).

exception geonature.utils.errors.GeonatureApiError(message, status_code=500)[source]

Bases: Exception

Common base class for all non-exit exceptions.

to_dict()[source]
__str__()[source]

Return str(self).

exception geonature.utils.errors.AuthentificationError(message, status_code=500)[source]

Bases: GeonatureApiError

Common base class for all non-exit exceptions.

exception geonature.utils.errors.CasAuthentificationError(message, status_code=500)[source]

Bases: GeonatureApiError

Common base class for all non-exit exceptions.