Failures · rule
failure.kind_required
Failure has no kind.
Area 4, Failures; not declinable; the next step is usually the agent's.
type Missing = Failure { message: "Not found."}
error: `Missing` has no `kind` --> main.jadpo:1:6 |1 | type Missing = Failure { | ^^^^^^^ a failure without a kind reason: A failure's kind decides how it reaches a client, its HTTP status included, and how background work treats it, so every failure names one. next: Add `kind:` with the `FailureKind` that fits, such as `kind: FailureKind.not_found` (agent) rule: failure.kind_required help: https://jadpo.dev/docs/errors/failure.kind_requiredcheck failed: 1 error, 1 file
Markdown for agents: /docs/errors/failure.kind_required.md.Built from Jadpo main at a707efb.