MCPcopy Index your code
hub / github.com/coder/coder / Errorf

Function Errorf

coderd/healthcheck/health/model.go:115–117  ·  view source on GitHub ↗

Errorf is a convenience function for returning a stringly-typed version of a Message.

(code Code, msg string, args ...any)

Source from the content-addressed store, hash-verified

113
114// Errorf is a convenience function for returning a stringly-typed version of a Message.
115func Errorf(code Code, msg string, args ...any) *string {
116 return ptr.Ref(Messagef(code, msg, args...).String())
117}

Callers 5

RunFunction · 0.92
RunMethod · 0.92
RunMethod · 0.92
RunMethod · 0.92
RunMethod · 0.92

Calls 3

RefFunction · 0.92
MessagefFunction · 0.85
StringMethod · 0.45

Tested by

no test coverage detected