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