Skip to content
Exceptions

Exceptions

scixplorer.exceptions.SciXError

Written exceptions.SciXError after from scixplorer import exceptions.

class

Base class for every error raised by this package.

Derives from Exception.

scixplorer.exceptions.QueryError

Written exceptions.QueryError after from scixplorer import exceptions.

class

A query expression is malformed or cannot be executed.

Derives from exceptions.SciXError.

scixplorer.exceptions.UnsupportedQueryError

Written exceptions.UnsupportedQueryError after from scixplorer import exceptions.

class

The expression is valid, but no execution plan exists for it.

Derives from exceptions.QueryError.

scixplorer.exceptions.NotLocallyEvaluable

Written exceptions.NotLocallyEvaluable after from scixplorer import exceptions.

class

The expression can only be evaluated by the ADS search engine, not in Python.

Derives from exceptions.QueryError.

scixplorer.exceptions.DoesNotExist

Written exceptions.DoesNotExist after from scixplorer import exceptions.

class

No object matched a query that required exactly one result.

Derives from exceptions.SciXError, LookupError.

scixplorer.exceptions.APIError

Written exceptions.APIError after from scixplorer import exceptions.

APIError(message, *, status_code=None, response=None)

class

The ADS API returned an error response.

Derives from exceptions.SciXError.

scixplorer.exceptions.AuthenticationError

Written exceptions.AuthenticationError after from scixplorer import exceptions.

AuthenticationError(message, *, status_code=None, response=None)

class

No API token was found, or ADS rejected the one supplied.

Derives from exceptions.APIError.

scixplorer.exceptions.RateLimitExceeded

Written exceptions.RateLimitExceeded after from scixplorer import exceptions.

RateLimitExceeded(message, *, limit=None, remaining=None, reset=None, **kwargs)

class

The rate limit for an ADS service has been reached.

Derives from exceptions.APIError.

scixplorer.exceptions.DataNotAvailable

Written exceptions.DataNotAvailable after from scixplorer import exceptions.

class

Reference data that is not packaged has not been downloaded yet; the message says how.

Derives from exceptions.SciXError.

scixplorer.exceptions.LazyLoadWarning

Written exceptions.LazyLoadWarning after from scixplorer import exceptions.

class

A field that was not requested by the query is being fetched on demand.

Derives from UserWarning.

scixplorer.exceptions.DataWarning

Written exceptions.DataWarning after from scixplorer import exceptions.

class

A value returned by ADS did not have the type its field declares.

Derives from UserWarning.

scixplorer.exceptions.QueryWarning

Written exceptions.QueryWarning after from scixplorer import exceptions.

class

A value in a condition is probably a mistake, such as an ORCID iD with a wrong check digit.

The condition is still built, and the search is sent as written.

Derives from UserWarning.