equal
deleted
inserted
replaced
78 msg = 'No source supports %r entity\'s type' |
78 msg = 'No source supports %r entity\'s type' |
79 |
79 |
80 class MultiSourcesError(RepositoryError, InternalError): |
80 class MultiSourcesError(RepositoryError, InternalError): |
81 """usually due to bad multisources configuration or rql query""" |
81 """usually due to bad multisources configuration or rql query""" |
82 |
82 |
|
83 class UniqueTogetherError(RepositoryError): |
|
84 """raised when a unique_together constraint caused an IntegrityError""" |
83 |
85 |
84 # security exceptions ######################################################### |
86 # security exceptions ######################################################### |
85 |
87 |
86 class Unauthorized(SecurityError): |
88 class Unauthorized(SecurityError): |
87 """raised when a user tries to perform an action without sufficient |
89 """raised when a user tries to perform an action without sufficient |