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

CasePayloadDescription
no-targetoption​<string>Nothing to call: the plugin is not serving a workload's capability call and holds no workload.target handle naming one.
not-runningoption​<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-exportedoption​<string>The workload is running but does not export this interface.
failedoption​<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.
otheroption​<string>A failure with no dedicated case, including any the host grows into later. Carries whatever detail there is.