Skip to content
Snippets Groups Projects
Commit 2a4b78bb authored by florian's avatar florian
Browse files

ENH: Add MismatchingEntitiesError

parent 7d527d6c
Branches
Tags
No related merge requests found
...@@ -141,8 +141,13 @@ class ResourceNotFoundException(ClientErrorException): ...@@ -141,8 +141,13 @@ class ResourceNotFoundException(ClientErrorException):
ClientErrorException.__init__(self, msg=msg, status=404, body=None) ClientErrorException.__init__(self, msg=msg, status=404, body=None)
class MismatchingEntitiesError(CaosDBException):
"""Mismatching entities were found during container sync."""
# ######################### Bad query errors ########################### # ######################### Bad query errors ###########################
class BadQueryError(CaosDBException): class BadQueryError(CaosDBException):
"""Base class for query errors that are not transaction errors.""" """Base class for query errors that are not transaction errors."""
...@@ -154,6 +159,7 @@ class QueryNotUniqueError(BadQueryError): ...@@ -154,6 +159,7 @@ class QueryNotUniqueError(BadQueryError):
class EmptyUniqueQueryError(BadQueryError): class EmptyUniqueQueryError(BadQueryError):
"""A unique query or retrieve dound no result.""" """A unique query or retrieve dound no result."""
# ######################### Transaction errors ######################### # ######################### Transaction errors #########################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment