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

Method WithErrorLog

pkg/error/error.go:121–125  ·  view source on GitHub ↗

WithErrorLog xxx

()

Source from the content-addressed store, hash-verified

119
120// WithErrorLog xxx
121func (err FinalError) WithErrorLog() FinalError {
122 // logs.ErrorDepth(1, err.Error())
123 logs.Error(err.Error())
124 return err
125}
126
127func (f FinalError) Error() string {
128 b, _ := json.Marshal(f)

Callers

nothing calls this directly

Calls 2

ErrorMethod · 0.95
ErrorFunction · 0.92

Tested by

no test coverage detected