Exceptions
papertrail.exceptions
Custom exceptions for the papertrail package.
PapertrailError
AuthorNotFoundError
Bases: PapertrailError
Raised when no author matches the given name or ID.
MultipleAuthorsFoundError
Bases: PapertrailError
Raised when a name matches multiple authors and disambiguation is needed.
Attributes:
| Name | Type | Description |
|---|---|---|
candidates |
List of candidate author display names and IDs. |
Source code in src/papertrail/exceptions.py
FetchError
Bases: PapertrailError
Raised when an external API request fails.
ExportError
Bases: PapertrailError
Raised when exporting data to a file fails.