Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
115
func
(err FinalError) WithWarnLog() FinalError {
116
logs.Warnf(err.Error())
117
return
err
118
}
119
120
// WithErrorLog xxx
121
func
(err FinalError) WithErrorLog() FinalError {
Callers
nothing calls this directly
Calls
2
Error
Method · 0.95
Warnf
Function · 0.92
Tested by
no test coverage detected