ErrorsBuilt-in services · rule
email.sent_context
Reads email.sent outside a test.
Area 16, Built-in services; not declinable; the next step is usually the agent's.
email.sent is what a test sent, caught in place of sending it, so only
a test reads it; outside a test an email goes out once its action
commits, and nothing keeps it to read:
/// Stops early once an email has gone out.action stop_after_sending() -> Unit { if (list.count(email.sent) > 0) { return }}
error email.sent is read outside a test
--> domains/accounts/actions/stop_after_sending.jadpo:3:20
|3 | if (list.count(email.sent) > 0) { | ^^^^^^^^^^ not in a test
- reason
email.sentlists the emails a test sent, whichjadpo testcatches in place of sending them; outside a test an email goes out once its action commits, and nothing keeps it to read.- next
- Read
email.sentin a test, after the action that sends the email (agent) - rule
- email.
sent_ context - help
- https://jadpo.
dev/docs/errors/email. sent_ context
Markdown for agents: /docs/errors/email.sent_context.md.Built from Jadpo main at aee2e8f.