/usr/lib/python3/dist-packages/lib389/exceptions.py is in python3-lib389 1.3.7.10-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | # --- BEGIN COPYRIGHT BLOCK ---
# Copyright (C) 2015 Red Hat, Inc.
# All rights reserved.
#
# License: GPL (version 3 or any later version).
# See LICENSE for details.
# --- END COPYRIGHT BLOCK ---
import ldap
class Error(Exception):
pass
class InvalidArgumentError(Error):
pass
class AlreadyExists(ldap.ALREADY_EXISTS):
pass
class NoSuchEntryError(ldap.NO_SUCH_OBJECT):
pass
class MissingEntryError(NoSuchEntryError):
"""When just added entries are missing."""
pass
class UnwillingToPerformError(Error):
pass
class NotImplementedError(Error):
pass
class DsError(Error):
"""Generic DS Error."""
pass
|