Options
Menu

Enumeration DispatchFailReason

All the reasons for why a Unit dispatch might fail.

Enumeration members

CUSTOM_DISPATCH_CHECK

CUSTOM_DISPATCH_CHECK: = "CUSTOM_DISPATCH_CHECK"

The third reason, if UnitConfig.customDispatchCheck returns a falsy value.

DISTINCT_CHECK

DISTINCT_CHECK: = "DISTINCT_CHECK"

The fourth reason, if UnitConfig.distinctDispatchCheck is not false and the dispatched value is same as current value.

FROZEN_UNIT

FROZEN_UNIT: = "FROZEN_UNIT"

The first reason, if the Unit is frozen.

INVALID_VALUE

INVALID_VALUE: = "INVALID_VALUE"

The second reason, if the dispatched value is invalid.