E3023
Error code: the run stops before anything is written. Raised by: events.
Cause
<plugin> provides <contract>, whose request <request> is handled in phase <phase>, but declares no [[phases]] entry for <phase>, so <request> would never be handled.
Fix
Add a [[phases]] entry with name = "<phase>" to the plugin.toml of <plugin>, and handle <request> in that phase.
What the engine prints
The message names the code, then where the problem is when it has a place in a file, then the fix. Words in angle brackets are filled in with the names and values of your file.
error[E3023]: <plugin> provides <contract>, whose request <request> is handled in phase <phase>, but declares no [[phases]] entry for <phase>, so <request> would never be handled.
--> <file>:<line>:<column>
= fix: Add a [[phases]] entry with name = "<phase>" to the plugin.toml of <plugin>, and handle <request> in that phase.
With --json, the same diagnostic is one JSON object with the fields code, severity, file, line, column, rule, fix and args.
Values filled in
plugin, contract, request, phase.
Generated from schemas/messages/en.toml. Do not edit. This page (code E3023) is built from the engine sources at every documentation build. To change it, edit the E3023 rule and fix in the English message catalogue (crates/cohortix-schema/messages/en.toml, published as schemas/messages/en.toml) and open a pull request.