djblets.conditions.errors¶
Error classes for conditions.
- exception ConditionChoiceConflictError¶
Bases:
AlreadyRegisteredError
A condition choice conflicts with another registered choice.
- exception ConditionChoiceNotFoundError(message, condition_index=None, choice_id=None)¶
Bases:
ItemLookupError
A condition choice was not found.
- __init__(message, condition_index=None, choice_id=None)¶
Initialize the error.
- __annotations__ = {}¶
- exception ConditionOperatorConflictError¶
Bases:
AlreadyRegisteredError
A condition operator conflicts with another registered operator.
- __annotations__ = {}¶
- exception ConditionOperatorNotFoundError(message, condition_index=None, operator_id=None)¶
Bases:
ItemLookupError
A condition operator was not found.
- __init__(message, condition_index=None, operator_id=None)¶
Initialize the error.
- __annotations__ = {}¶
- exception InvalidConditionModeError¶
Bases:
ValueError
The condition mode provided was invalid.
- exception InvalidConditionValueError(message, code=None, condition_index=None)¶
Bases:
ValueError
The condition value provided was invalid.
- __init__(message, code=None, condition_index=None)¶
Initialize the error.