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

Method Error

pkg/error/error.go:127–130  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

125}
126
127func (f FinalError) Error() string {
128 b, _ := json.Marshal(f)
129 return string(b)
130}
131
132// MarshalJSON xxx
133func (f FinalError) MarshalJSON() ([]byte, error) {

Callers 2

WithWarnLogMethod · 0.95
WithErrorLogMethod · 0.95

Calls 1

MarshalFunction · 0.92

Tested by

no test coverage detected