No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

exceptions.py 683B

1234567891011121314151617181920212223242526
  1. from lodel.context import LodelContext
  2. LodelContext.expose_modules(globals(), {
  3. 'lodel.exceptions': ['LodelException', 'LodelExceptions',
  4. 'LodelFatalError', 'DataNoneValid', 'FieldValidationError']})
  5. #@ingroup plugin_mongodb_datasource
  6. class MongoDbDataSourceError(Exception):
  7. pass
  8. ##@ingroup plugin_mongodb_datasource
  9. class MongoDbConsistencyError(MongoDbDataSourceError):
  10. pass
  11. ##@ingroup plugin_mongodb_datasource
  12. class MongoDbConsistencyFatalError(LodelFatalError):
  13. pass
  14. ##@ingroup plugin_mongodb_datasource
  15. class MigrationHandlerChangeError(Exception):
  16. pass
  17. ##@ingroup plugin_mongodb_datasource
  18. class MigrationHandlerError(Exception):
  19. pass