def __init__(self, api, entity_ref, users=None, project_access=None,
                 operation_type=DEFAULT_OPERATION_TYPE, created=None,
                 updated=None):

        self._api = api
        self._entity_ref = entity_ref
        self._operation_acls = []

        # create per operation ACL data entity only when client has set users
        # or project_access flag.
        if users is not None or project_access is not None:
            acl = _PerOperationACL(parent_acl=self, entity_ref=entity_ref,
                                   users=users, project_access=project_access,
                                   operation_type=operation_type,
                                   created=created, updated=updated)
            self._operation_acls.append(acl)
Initializes the exception.
dataset/ETHPy150Open openstack/python-barbicanclient/barbicanclient/acls.py/ACL.__init__--crossover with--dataset/ETHPy150Open s3rvac/retdec-python/retdec/exceptions.py/UnknownAPIError.__init__