_exceptions.py
branchstable
changeset 6211 e9d125fd1465
parent 5426 0d4853a6e5ee
child 6347 ef47a2100c66
--- a/_exceptions.py	Fri Sep 10 17:58:38 2010 +0200
+++ b/_exceptions.py	Fri Sep 10 18:30:38 2010 +0200
@@ -80,6 +80,8 @@
 class MultiSourcesError(RepositoryError, InternalError):
     """usually due to bad multisources configuration or rql query"""
 
+class UniqueTogetherError(RepositoryError):
+    """raised when a unique_together constraint caused an IntegrityError"""
 
 # security exceptions #########################################################