-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
Labels
Description
Currently, we get errors like
Error in `Abort()`:
! The slide computations must either (a) output a single element/row
each, or (b) one element/row per appearance of the reference time value in the
local window.
There are two issues:
- The error shouldn't be "in
Abort()"; we should use something likecall = caller_env()in theabortcall insideAbort(part of AugmentAbort& co.; addrlangcondition tutorial, helpers #102 but that's a large, stale WIP), or usecli_abortinstead. - This doesn't give very helpful info about what computation(s) output the wrong number of elements/rows. We could pack the slide computations list and the expected counts in an error object & refer to them in the error message, and/or print the first one with a violation of the existing pattern.