failure.kind_runtime_only
Failure kind is raised only by the runtime.
Area 4, Failures; not declinable; the next step is usually the agent's.
type Broken = Failure { kind: FailureKind.internal_fault}
error Broken can't have the kind internal_fault
--> main.jadpo:2:11
|2 | kind: FailureKind.internal_fault | ^^^^^^^^^^^^^^^^^^^^^^^^^^ raised only by the runtime
- reason
- The runtime raises
internal_faultitself; an application declaresinvalid_value,not_found,not_permitted,conflict,rejected,rate_limitedandunavailable, so a client's status always means the same thing. - next
- Use the kind an application declares that fits this outcome (agent)
- rule
- failure.
kind_ runtime_ only - help
- https://jadpo.
dev/docs/errors/failure. kind_ runtime_ only
Markdown for agents: /docs/errors/failure.kind_runtime_only.md.Built from Jadpo main at aee2e8f.