Skip to content

Commit 92bd0c2

Browse files
authored
Merge pull request #721 from ztzg/x-16104-quota-error-kills-handle
fix(exceptions): Register exception for server-side QUOTAEXCEEDED(-125)
2 parents 2c36d69 + 6054d82 commit 92bd0c2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

kazoo/exceptions.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,11 @@ class NotReadOnlyCallError(ZookeeperError):
187187
a read-only server"""
188188

189189

190+
@_zookeeper_exception(-125)
191+
class QuotaExceededError(ZookeeperError):
192+
"""Exceeded the quota that was set on the path"""
193+
194+
190195
class ConnectionClosedError(SessionExpiredError):
191196
"""Connection is closed"""
192197

0 commit comments

Comments
 (0)