MCPcopy Index your code
hub / github.com/docker/docker-agent / IsError

Method IsError

pkg/session/session.go:93–95  ·  view source on GitHub ↗

IsError returns true if this item contains a recorded error

()

Source from the content-addressed store, hash-verified

91
92// IsError returns true if this item contains a recorded error
93func (si *Item) IsError() bool {
94 return si.Error != nil
95}
96
97// Error records an agent failure that occurred during a run. It is stored as
98// a session item so the error is visible when the session is reopened and is

Calls

no outgoing calls