MCPcopy
hub / github.com/docker/docker-agent / ErrorEvent

Struct ErrorEvent

pkg/runtime/event.go:245–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243)
244
245type ErrorEvent struct {
246 AgentContext
247
248 Type string `json:"type"`
249 SessionID string `json:"session_id,omitempty"`
250 Error string `json:"error"`
251 Code string `json:"code,omitempty"`
252}
253
254// GetSessionID makes ErrorEvent satisfy [SessionScoped] so the existing
255// isRootEvent check in the platform runner correctly distinguishes root-session

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected