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
clientandinternalblocks 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_ field
Markdown for agents: /docs/errors/failure.missing_context_field.md.Built from Jadpo main at aee2e8f.