Failures · rule
failure.missing_context_field
Rejected failure is missing a field.
Area 4, Failures; not declinable; the next step is usually the agent's.
type Lookup = Text {}type Missing = Failure { kind: FailureKind.not_found internal: { lookup: Lookup }}action find(lookup: Lookup) fails Missing -> Lookup { reject Missing}
error: `Missing` is missing `lookup` --> main.jadpo:11:12 |11 | reject Missing | ^^^^^^^ fields missing reason: A failure is raised with every field its `client` and `internal` blocks declare, so the client and the log always get them. next: Give its fields in a block: `Missing { lookup: ... }` (agent) rule: failure.missing_context_field help: https://jadpo.dev/docs/errors/failure.missing_context_fieldcheck failed: 1 error, 1 file
Markdown for agents: /docs/errors/failure.missing_context_field.md.Built from Jadpo main at a707efb.