equal
deleted
inserted
replaced
100 DeprecationWarning) |
100 DeprecationWarning) |
101 # the first argument, etype, is never used and was never garanteed anyway |
101 # the first argument, etype, is never used and was never garanteed anyway |
102 return None, self.rtypes |
102 return None, self.rtypes |
103 |
103 |
104 |
104 |
|
105 class ViolatedConstraint(RepositoryError): |
|
106 def __init__(self, cnx, cstrname): |
|
107 self.cnx = cnx |
|
108 self.cstrname = cstrname |
|
109 |
|
110 |
105 # security exceptions ######################################################### |
111 # security exceptions ######################################################### |
106 |
112 |
107 class Unauthorized(SecurityError): |
113 class Unauthorized(SecurityError): |
108 """raised when a user tries to perform an action without sufficient |
114 """raised when a user tries to perform an action without sufficient |
109 credentials |
115 credentials |