:class:`~.DatabaseNotValidError` ================================================================================================================================================================== .. py:exception:: astropathdb.logging.exceptions._database.DatabaseNotValidError(database) :single-line-parameter-list: Bases: :class:`~.AstroPathDatabaseError`, :class:`~.LookupError` The database is not initialized for access. :class:`~.astropathdb.logging.exceptions._database.DatabaseNotValidError` *Attributes* ------------------------------------------------------------------------------------------------------------------------------------------------------------------ .. autoapisummary:: :signatures: none astropathdb.logging.exceptions._database.DatabaseNotValidError.DATABASE_NOT_INITIALIZED astropathdb.logging.exceptions._database.DatabaseNotValidError.SAMPLE_ERROR astropathdb.logging.exceptions._database.DatabaseNotValidError.ASTROPATH_ERROR astropathdb.logging.exceptions._database.DatabaseNotValidError.DATABASE_ERROR astropathdb.logging.exceptions._database.DatabaseNotValidError.ERROR_WHILE_EXEC :class:`~.astropathdb.logging.exceptions._database.DatabaseNotValidError` *References* ------------------------------------------------------------------------------------------------------------------------------------------------------------------ .. py:currentmodule:: astropathdb.logging.exceptions._database.DatabaseNotValidError *Attribute Reference* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. py:attribute:: DATABASE_NOT_INITIALIZED :type: ClassVar[str] :value: 'Database %r is not defined, cannot load db session. The public databases are named... .. py:attribute:: SAMPLE_ERROR :type: ClassVar[str] :value: ' [sampleid]:%r' .. py:attribute:: ASTROPATH_ERROR :type: ClassVar[str] :value: '[AstroPath]' .. py:attribute:: DATABASE_ERROR :type: ClassVar[str] :value: '[database]:%r' .. py:attribute:: ERROR_WHILE_EXEC :type: ClassVar[str] :value: 'Errors occurred while executing query in %s: %s.'