E0402

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

E0402 error

{} mounts a route but is not under routes/

What to do

move it to routes/{}.md, or move its route: blocks into the entry file if it is meant to be the entry's own handler

From the binary

$ midad explain E0402
E0402 (error)
  `{}` mounts a route but is not under `routes/`
  fix: move it to `routes/{}.md`, or move its `route:` blocks into the entry file if it is meant to be the entry's own handler

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