Thrown by indexing and slicing operations when an index falls outside the valid range of its dimension.
Mapped to lucid._C.engine.IndexError on the Python side, which itself
inherits from LucidError (not from the built-in Python
IndexError). Callers wanting to catch both Lucid and native index
errors should match on LookupError or both classes explicitly.
Parameters
msgstd::stringFully formatted message; passed through unchanged to the
LucidError base.Constructors
1ctor
IndexError
void IndexError(int msg)Construct an IndexError from the pre-formatted message the call site built describing the offending index vs the valid range. Passed through unchanged to the LucidError base.