The grid (core) ยท console.warn
applying the {direction} of '{label}' threw.
Printed by The grid (core), prefixed [lattice], since 1.0.1.
Warnings reference › history.apply.throw
- Identifier
history.apply.throw- Raised by
- The grid (core)
- Since
- 1.0.1
What happened
The function that applies a history patch threw while undoing or redoing a step. That step is not applied, so the grid is left between two states: the history position has moved and the state it names was not restored.
The fix
The error is attached to the console line. The label is the one the step was recorded under.
Reference
Covered in full at the API reference.