mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Add Domain Level feature
https://fedorahosted.org/freeipa/ticket/5018 Reviewed-By: Jan Cholasta <jcholast@redhat.com> Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
This commit is contained in:
committed by
Jan Cholasta
parent
9eedffdfa6
commit
f3010498af
@@ -1344,6 +1344,22 @@ class EmptyResult(NotFound):
|
||||
|
||||
errno = 4031
|
||||
|
||||
class InvalidDomainLevelError(ExecutionError):
|
||||
"""
|
||||
**4032** Raised when a operation could not be completed due to a invalid
|
||||
domain level.
|
||||
|
||||
For example:
|
||||
|
||||
>>> raise InvalidDomainLevelError(reason='feature requires domain level 4')
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
InvalidDomainLevelError: feature requires domain level 4
|
||||
|
||||
"""
|
||||
|
||||
errno = 4032
|
||||
|
||||
class BuiltinError(ExecutionError):
|
||||
"""
|
||||
**4100** Base class for builtin execution errors (*4100 - 4199*).
|
||||
|
Reference in New Issue
Block a user