MCPcopy
hub / github.com/moby/moby / Error

Method Error

api/types/jsonstream/json_error.go:10–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8}
9
10func (e *Error) Error() string {
11 if e == nil {
12 return "<nil>"
13 }
14 return e.Message
15}

Callers 4

doRequestMethod · 0.95
TestErrorFunction · 0.45
TestNilErrorFunction · 0.45
TestDecodeAuthConfigFunction · 0.45

Calls

no outgoing calls

Tested by 3

TestErrorFunction · 0.36
TestNilErrorFunction · 0.36
TestDecodeAuthConfigFunction · 0.36