E0222

generated from midad spec --json at build time; not edited by hand

E0222 error

This code is raised with a message built where the checker raises it, so the binary has no message template and no fix text for it: midad explain E0222 prints a dash in both places. The message in a real diagnostic names what the checker saw.

From the binary

$ midad explain E0222
E0222 (error)
  no entry point: set `entry:` in the frontmatter, define fn:main, a route, a command, or an exec block
  fix: -

A message template can carry {} where the checker fills in the values it saw: the type it expected, the target it refused, the name it could not find.

On this page