CasJobsConnectionRefusedError#

exception astropathdb.logging.exceptions._connection.CasJobsConnectionRefusedError(status_code, data)#

Bases: AstroPathConnectionError, ConnectionRefusedError

Connection refused error for CasJobs.

Parameters:

CasJobsConnectionRefusedError Attributes#

CasJobsConnectionRefusedError References#

Attribute Reference#

attribute STALE_ERROR: ClassVar[str] = Multiline-String#
Show Value
"""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."""