MCPcopy Create free account
hub / github.com/juju/errors / IsTimeout

Function IsTimeout

errortypes.go:135–137  ·  view source on GitHub ↗

Deprecated: IsTimeout reports whether err is a Timeout error. Use Is(err, Timeout).

(err error)

Source from the content-addressed store, hash-verified

133// Deprecated: IsTimeout reports whether err is a Timeout error. Use
134// Is(err, Timeout).
135func IsTimeout(err error) bool {
136 return Is(err, Timeout)
137}
138
139// NotFoundf returns an error which satisfies Is(err, NotFound) and the
140// Locationer interface.

Callers

nothing calls this directly

Calls 1

IsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…