DatabaseNotValidError#

exception astropathdb.logging.exceptions._database.DatabaseNotValidError(database)#

Bases: AstroPathDatabaseError, LookupError

The database is not initialized for access.

Parameters:

database (str)

DatabaseNotValidError Attributes#

DatabaseNotValidError References#

Attribute Reference#

attribute DATABASE_NOT_INITIALIZED: ClassVar[str] = 'Database %r is not defined, cannot load db session. The public databases are named...#
attribute SAMPLE_ERROR: ClassVar[str] = ' [sampleid]:%r'#
attribute ASTROPATH_ERROR: ClassVar[str] = '[AstroPath]'#
attribute DATABASE_ERROR: ClassVar[str] = '[database]:%r'#
attribute ERROR_WHILE_EXEC: ClassVar[str] = 'Errors occurred while executing query in %s: %s.'#