Lattice Grid Buy a licence

The grid (core) ยท console.warn

a '{type}' before-handler rejected; the action was cancelled.

Printed by The grid (core), prefixed [lattice], since 1.36.0.

Warnings referencebus.beforeReject:*

Identifier
bus.beforeReject:*
Raised by
The grid (core)
Since
1.36.0

What happened

An asynchronous before-handler returned a promise that rejected. The grid waits for every deferred handler - a logging handler runs alongside a vetoing one - and treats a rejection exactly as it treats a throw: the action is cancelled and the reason reported.

The fix

The rejection reason is attached to the console line. Resolve false to veto; resolve anything else to allow.

Reference

Covered in full at the API reference.