Variant
call-error
Why the host could not complete a plugin's call into a workload.
variant call-error {
no-target(option<string>),
not-running(option<string>),
not-exported(option<string>),
failed(option<string>),
other(option<string>),
}Cases
| Case | Payload | Description |
|---|---|---|
| no-target | option<string> | Nothing to call: the plugin is not serving a workload's capability
call and holds no workload.target handle naming one. |
| not-running | option<string> | The workload named is not callable. It never bound, it has stopped, or a redeploy under the same id replaced the deployment this call names. |
| not-exported | option<string> | The workload is running but does not export this interface. |
| failed | option<string> | The workload was reached and the call did not finish: its guest trapped, it could not be instantiated, or it ran past the host's ceiling for one call. |
| other | option<string> | A failure with no dedicated case, including any the host grows into later. Carries whatever detail there is. |