summaryrefslogtreecommitdiff
path: root/kafka/errors.py
diff options
context:
space:
mode:
Diffstat (limited to 'kafka/errors.py')
-rw-r--r--kafka/errors.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/kafka/errors.py b/kafka/errors.py
index f13f978..abef2c5 100644
--- a/kafka/errors.py
+++ b/kafka/errors.py
@@ -443,6 +443,12 @@ class PolicyViolationError(BrokerResponseError):
description = 'Request parameters do not satisfy the configured policy.'
+class SecurityDisabledError(BrokerResponseError):
+ errno = 54
+ message = 'SECURITY_DISABLED'
+ description = 'Security features are disabled.'
+
+
class KafkaUnavailableError(KafkaError):
pass