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

Function Timeoutf

errortypes.go:117–122  ·  view source on GitHub ↗

Timeoutf returns an error which satisfies Is(err, Timeout) and the Locationer interface.

(format string, args ...interface{})

Source from the content-addressed store, hash-verified

115// Timeoutf returns an error which satisfies Is(err, Timeout) and the Locationer
116// interface.
117func Timeoutf(format string, args ...interface{}) error {
118 return newLocationError(
119 makeWrappedConstError(Timeout, format, args...),
120 1,
121 )
122}
123
124// NewTimeout returns an error which wraps err and satisfies Is(err, Timeout)
125// and the Locationer interface.

Callers

nothing calls this directly

Calls 2

newLocationErrorFunction · 0.85
makeWrappedConstErrorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…