E0256
generated from midad spec --json at build time; not edited by hand
E0256
error
What to do
a handler must be declared in a fn block and imported if it lives in a library
From the binary
$ midad explain E0256
E0256 (error)
route handler `{}` is not a function in this program
fix: a handler must be declared in a `fn` block and imported if it lives in a libraryA 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.