:class:`~.CasJobsConnectionRefusedError` ============================================================================================================================================================================ .. py:exception:: astropathdb.logging.exceptions._connection.CasJobsConnectionRefusedError(status_code, data) :single-line-parameter-list: Bases: :class:`~.AstroPathConnectionError`, :class:`~.ConnectionRefusedError` Connection refused error for CasJobs. :class:`~.astropathdb.logging.exceptions._connection.CasJobsConnectionRefusedError` *Attributes* ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- .. autoapisummary:: :signatures: none astropathdb.logging.exceptions._connection.CasJobsConnectionRefusedError.STALE_ERROR :class:`~.astropathdb.logging.exceptions._connection.CasJobsConnectionRefusedError` *References* ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- .. py:currentmodule:: astropathdb.logging.exceptions._connection.CasJobsConnectionRefusedError *Attribute Reference* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. py:attribute:: STALE_ERROR :type: ClassVar[str] :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """Error when executing query. Http Response from CasJobs API returned status code: [%r]. %s This may indicate that the authentication token is stale. Use `AstroDB.sci_login()` to refresh the token. If the issue persists, try restarting the Python session or kernel.""" .. raw:: html