Enum TweenErrorCode
Structured error codes used by TweenException to categorise tween system failures without requiring callers to parse exception message strings.
Namespace: Scylla.Core.Util.Tween
Assembly: ScyllaCore.dll
Syntax
public enum TweenErrorCode
Fields
| Name | Description |
|---|---|
| CallbackException | A user-registered callback delegate threw an unhandled exception during invocation. The tween system catches and logs callback exceptions rather than propagating them, but this code is available for diagnostic use when that default behaviour is overridden. |
| InvalidParameter | A method argument or configuration value is outside the accepted range or is
otherwise invalid (e.g., a negative duration or a |
| InvalidSequenceOperation | An operation was attempted on a TweenSequence that is not valid in the sequence's current state - for example, appending a tween to a sequence that is already playing. |
| InvalidState | The tween is in a state that does not permit the requested operation. For example, attempting a configuration call after the tween has been killed. |
| PoolExhausted | The tween pool ( |
| TargetDestroyed | The |
| TweenKilled | The operation cannot proceed because the target tween has already been killed (i.e. its state is Killed). Killed tweens must be discarded or reset via the pool before reuse. |
| Unknown | The error is unknown or does not fit any of the defined categories. Used as the default when an error code is not explicitly provided to a TweenException constructor. |