:py:mod:`geonature.utils.errors` ================================ .. py:module:: geonature.utils.errors Module Contents --------------- .. py:data:: log Erreurs propres à GN .. py:exception:: GeoNatureError Bases: :py:obj:`Exception` Common base class for all non-exit exceptions. .. py:exception:: ConfigError(file, value) Bases: :py:obj:`GeoNatureError` Configuration error class Quand un fichier de configuration n'est pas conforme aux attentes .. py:method:: __str__() Return str(self). .. py:exception:: GeonatureApiError(message, status_code=500) Bases: :py:obj:`Exception` Common base class for all non-exit exceptions. .. py:method:: to_dict() .. py:method:: __str__() Return str(self). .. py:exception:: AuthentificationError(message, status_code=500) Bases: :py:obj:`GeonatureApiError` Common base class for all non-exit exceptions. .. py:exception:: CasAuthentificationError(message, status_code=500) Bases: :py:obj:`GeonatureApiError` Common base class for all non-exit exceptions.