E1001: invalid event multiplicity policy
Generated from rellum-diagnostics/src/db.rs.
Explanation
Event multiplicity must be one of the policies the parser recognizes: last, first, collect, or once. Any other identifier after multiplicity: is not a valid event source policy.
Common causes
- misspelling a multiplicity policy
- using a policy name from another runtime or design note
- placing an ordinary identifier after
multiplicity:
Canonical fixes
- use a supported multiplicity policy
Before:
line = event(stdin_line!(), multiplicity: all)
After:
line = event(stdin_line!(), multiplicity: collect)
- omit multiplicity to use the default policy
Code example
line = event(stdin_line!(), multiplicity: all)