factorymind.exceptions module

These are custom FM exception classes.

References

Code documentation

exception factorymind.exceptions.CouldNotFetchDataException(msg='Could not fetch data from the FactoryMind DB')

Bases: factorymind.exceptions.FactoryMindException

Raised when data cannot be fetched from FM database

exception factorymind.exceptions.DatasetDoesNotExistException(dataset_name='', msg='')

Bases: factorymind.exceptions.FactoryMindException

Raised when dataset (collection) does not exist in DB

exception factorymind.exceptions.FactoryMindException(msg='FMException')

Bases: Exception

Base class for other exceptions