MCPcopy Create free account
hub / github.com/baidu/EasyFaaS / WithWarnLog

Method WithWarnLog

pkg/error/error.go:115–118  ·  view source on GitHub ↗

WithWarnLog xxx

()

Source from the content-addressed store, hash-verified

113
114// WithWarnLog xxx
115func (err FinalError) WithWarnLog() FinalError {
116 logs.Warnf(err.Error())
117 return err
118}
119
120// WithErrorLog xxx
121func (err FinalError) WithErrorLog() FinalError {

Callers

nothing calls this directly

Calls 2

ErrorMethod · 0.95
WarnfFunction · 0.92

Tested by

no test coverage detected