eutils.exceptions

exception eutils.exceptions.EutilsError[source]

Bases: Exception

Base class for all Eutils exceptions, and also used to raise general exception.

exception eutils.exceptions.EutilsNCBIError[source]

Bases: eutils.exceptions.EutilsError

Raised when NCBI returns data that appears to be incorrect or invalid.

exception eutils.exceptions.EutilsNotFoundError[source]

Bases: eutils.exceptions.EutilsError

Raised when the requested data is not available. (Used only by the eutils.sketchy.clientx interface currently.)

exception eutils.exceptions.EutilsRequestError[source]

Bases: eutils.exceptions.EutilsError

Raised when NCBI responds with an error, such as when a non-existent database is specified.