E0403

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

E0403 error

{} is under routes/ but mounts no route and no route names one of its handlers

What to do

move it to lib/ if it is code the handlers call, or add a route:METHOD /path name block in the entry file if it is a handler

From the binary

$ midad explain E0403
E0403 (error)
  `{}` is under `routes/` but mounts no route and no route names one of its handlers
  fix: move it to `lib/` if it is code the handlers call, or add a `route:METHOD /path name` block in the entry file if it is a 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