Code/BetterIk/Skeleton/FabrikChainError.cs

Enum describing error states for a FABRIK IK chain in the BetterIk.Skeleton namespace. Lists None and specific error cases like missing end bone, missing root bone name, root not found, and chain too short.

namespace BetterIk.Skeleton;

public enum FabrikChainError
{
    None,
    EndBoneMissing,
    RootBoneNameMissing,

    /// <summary>Walked all the way to the skeleton root without finding a bone named RootBone.</summary>
    RootNotFound,

    /// <summary>Root and end resolved to the same bone (by name) - a chain needs at least 2 bones.</summary>
    ChainTooShort,
}