Jump to >

This documentation covers the in-development release of Djblets. You can see the latest stable docs or all previous versions.

djblets.conditions.errors

Error classes for conditions.

exception ConditionChoiceConflictError[source]

A condition choice conflicts with another registered choice.

exception ConditionChoiceNotFoundError(message, condition_index=None, choice_id=None)[source]

A condition choice was not found.

exception ConditionOperatorConflictError[source]

A condition operator conflicts with another registered operator.

exception ConditionOperatorNotFoundError(message, condition_index=None, operator_id=None)[source]

A condition operator was not found.

exception InvalidConditionModeError[source]

The condition mode provided was invalid.

exception InvalidConditionValueError(message, code=None, condition_index=None)[source]

The condition value provided was invalid.