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

Function Error

pkg/runtime/event.go:259–264  ·  view source on GitHub ↗
(msg string)

Source from the content-addressed store, hash-verified

257func (e *ErrorEvent) GetSessionID() string { return e.SessionID }
258
259func Error(msg string) Event {
260 return &ErrorEvent{
261 Type: "error",
262 Error: msg,
263 }
264}
265
266func ErrorWithCode(code, msg string) Event {
267 return &ErrorEvent{

Calls

no outgoing calls