Failures · rule
failure.code_format
Failure code is not lower_snake_case.
Area 4, Failures; not declinable; the next step is usually the agent's.
type Missing = Failure { kind: FailureKind.not_found code: "Not Found!"}
error: The code `Not Found!` isn't lower_snake_case --> main.jadpo:3:11 |3 | code: "Not Found!" | ^^^^^^^^^^^^ not lower_snake_case reason: A failure's code is what clients branch on and translate by, so it is lower_snake_case, like a failure's name turned into one. next: Write `"not_found"` (agent) rule: failure.code_format help: https://jadpo.dev/docs/errors/failure.code_formatcheck failed: 1 error, 1 file
Markdown for agents: /docs/errors/failure.code_format.md.Built from Jadpo main at a707efb.