Exceptions

All the exceptions specific to the notion_annotator project.

source

RagasError

Base class for all Ragas-related exceptions.


source

NotFoundError

Raised when an item is not found.


source

DuplicateError

Raised when multiple items are found but only one was expected.


source

ValidationError

Raised when field validation fails.


source

ExperimentNotFoundError

Exception raised when an experiment doesn’t exist.


source

DatasetNotFoundError

Exception raised when a dataset doesn’t exist.


source

ProjectNotFoundError

Exception raised when a project doesn’t exist.


source

ResourceNotFoundError

Exception raised when a requested resource doesn’t exist.


source

DuplicateExperimentError

Exception raised when multiple experiments exist with the same name.


source

DuplicateDatasetError

Exception raised when multiple datasets exist with the same name.


source

DuplicateProjectError

Exception raised when multiple projects exist with the same name.


source

DuplicateResourceError

Exception raised when multiple resources exist with the same identifier.