Tide · Errors
unknown_effect
load fails with code unknown_effect when a reflex names an effect that is not registered in the effects passed to createTide. The check runs when the reflex is loaded, before any occurrence it would have run.
{
id: 'reminders.text',
intent: 'Text every member at 18:00.',
on: {
clock: { every: 'day', at: '18:00', tz: 'Europe/Vienna' },
},
select: {
query: { table: 'members' },
mode: 'each',
unitKey: 'id',
},
effect: { name: 'sms.send', input: { to: { $ref: '$.row.id' } } },
}['mail.send']
unknown_effect tide refused to load: reminders.text names effect "sms.send", which is not registered
Runs in this page on the installed package. The input and the expected output are defined by the example.