22 lines
676 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

class DirectoryServiceError(Exception):
"""Базовая ошибка сервисного слоя."""
class DirectoryLdapError(DirectoryServiceError):
"""Ошибка на стороне LDAP."""
class DirectoryConnectionError(DirectoryLdapError):
"""Ошибка подключения к LDAP-серверу.
Включает ошибки конфигурации, сети и аутентификации.
"""
class DirectoryDbError(DirectoryServiceError):
"""Ошибка фиксации изменений в БД."""
class DirectoryGroupError(DirectoryServiceError):
"""Ошибка операций с LDAP-группами."""