Skip to content

Exceptions

The _exceptions module defines exception classes for handling error scenarios encountered when using the re3data API.

Classes:

Name Description
Re3dataError

Base exception class for errors related to the re3data API.

RepositoryNotFoundError

Exception raised when a repository is not found.

Re3dataError

Bases: Exception

Base exception class for errors related to the re3data API.

Source code in src/re3data/_exceptions.py
class Re3dataError(Exception):
    """Base exception class for errors related to the re3data API."""

RepositoryNotFoundError

Bases: Re3dataError

Exception raised when a repository is not found.

Source code in src/re3data/_exceptions.py
class RepositoryNotFoundError(Re3dataError):
    """Exception raised when a repository is not found."""