#[non_exhaustive]pub enum IndexKind {
List,
Bytes,
Str,
ListAssignment,
Tuple,
}Expand description
An IndexError, by its message.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
List
“list index out of range”: a 4.x channel’s stream past the
file’s streams (helpers/MeshHelper.py:341), a packed vector’s
item past its m_Data list (helpers/PackedBitVector.py:56), or a
compressed skin’s vertex past the vertex count
(helpers/MeshHelper.py:587).
Bytes
“index out of range”: a packed vector’s item past its m_Data
where that is bytes (TypelessData, helpers/PackedBitVector.py:56).
Str
“string index out of range”: a 4.x channel’s index past its
stream’s bin(channelMask) (helpers/MeshHelper.py:346-347).
ListAssignment
“list assignment index out of range”: a quad submesh whose index
count is not a multiple of 4 (helpers/MeshHelper.py:674-675).
Tuple
“tuple index out of range”: a packed vector’s item past its
m_Data where a caller set that to a tuple
(helpers/PackedBitVector.py:56).