failure.context_field_overlap
Field is declared for both the client and the log.
Area 4, Failures; not declinable; the next step is usually the agent's.
type Reference = Text { max_length: 64}type PaymentRefused = Failure { kind: FailureKind.rejected client: { reference: Reference } internal: { reference: Reference }}
error reference is in both client and internal
--> main.jadpo:11:9
| 8 | reference: Reference | --------- first declared here11 | reference: Reference | ^^^^^^^^^ declared again
- reason
clientfields are sent to the caller andinternalfields never leave the server, so a field is one or the other.- next
- Keep
referencein one of the two blocks (agent) - rule
- failure.
context_ field_ overlap - help
- https://jadpo.
dev/docs/errors/failure. context_ field_ overlap
Markdown for agents: /docs/errors/failure.context_field_overlap.md.Built from Jadpo main at aee2e8f.