:class:`~.AstroPathDatabaseError` =================================================================================================================================================================== .. py:exception:: astropathdb.logging.exceptions._database.AstroPathDatabaseError(msg, *, database = None, sampleid = None) :single-line-parameter-list: Bases: :class:`~.astropathdb.logging.exceptions._base.AstroPathError` Raised when database-related errors occur, does not include connection errors. :class:`~.astropathdb.logging.exceptions._database.AstroPathDatabaseError` *Attributes* ------------------------------------------------------------------------------------------------------------------------------------------------------------------- .. autoapisummary:: :signatures: none astropathdb.logging.exceptions._database.AstroPathDatabaseError.SAMPLE_ERROR astropathdb.logging.exceptions._database.AstroPathDatabaseError.ASTROPATH_ERROR astropathdb.logging.exceptions._database.AstroPathDatabaseError.DATABASE_ERROR astropathdb.logging.exceptions._database.AstroPathDatabaseError.ERROR_WHILE_EXEC :class:`~.astropathdb.logging.exceptions._database.AstroPathDatabaseError` *References* ------------------------------------------------------------------------------------------------------------------------------------------------------------------- .. py:currentmodule:: astropathdb.logging.exceptions._database.AstroPathDatabaseError *Attribute Reference* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. 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.'