E0171

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

E0171 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 E0171 prints a dash in both places. The message in a real diagnostic names what the checker saw.

From the binary

$ midad explain E0171
E0171 (error)
  route path must start with `/`, e.g. ```route:GET /items/:id
  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