The grid (core) ยท console.warn
capability was asked for rule set '{rules}',...
Printed by The grid (core), prefixed [lattice], since 1.124.0.
Warnings reference › stat.capability.rules:*
- Identifier
stat.capability.rules:*- Raised by
- The grid (core)
- Since
- 1.124.0
What happened
capability(colId, { rules }) was given a value that is neither 'westernElectric' nor 'nelson'. The report is not refused: the violations are judged against Western Electric (the default), and ruleSet in the result reports 'westernElectric' so the caller and the chart both name the set actually used rather than echoing the unknown value back. Fires once per unknown value.
The fix
Pass 'westernElectric' or 'nelson', or leave rules out for the default.
Reference
Covered in full at the API reference.