exceptions#

Custom exceptions for the astropathdb package.

exceptions Exceptions#

AstroPathError

Base class for all exceptions in the astropathdb package.

AstroPathTypeError

Base class for astropathdb type errors with consistent error logging.

AstroPathValueError

Base class for all value exceptions in the astropathdb package.

AstroPathAuthenticationError

SciServer authentication failed without exposing the upstream response.

AstroPathAuthenticationInputError

Authentication inputs do not identify one usable source.

AstroPathCredentialDependencyError

A credential feature requires an unavailable dependency or backend.

AstroPathCredentialsError

Credentials were invalid.

AstroPathCredentialStorageError

An authorized keyring write failed after authentication.

CasJobsConnectionError

Connection error for CasJobs.

CasJobsConnectionRefusedError

Connection refused error for CasJobs.

CasJobsFuturesConnectionError

Connection error for CasJobs.

CasJobsInvalidFormatError

Illegal input format for CasJobs.

CasJobsLoginError

Connection error for CasJobs login.

CasJobsRequestError

The request to CasJobs failed before any response was received.

AstroPathDatabaseError

Raised when database-related errors occur, does not include connection errors.

DatabaseNotValidError

The database is not initialized for access.

InvalidCellFilterError

Exception raised.

InvalidPhenotypeFilterError

Exception raised.

InvalidPtypeFilterError

Exception raised.

InvalidSQLFormatError

Invalid SQL format error for CasJobs.

exceptions Module Reference#

_base

Base exception classes for the astropathdb package.

_connection

Connection-related exceptions.

_database

Errors while executing queries (not connection related).