MCPcopy
hub / github.com/TarsCloud/TarsGo / Errorf

Function Errorf

tars/errors.go:29–31  ·  view source on GitHub ↗

Errorf return the tars.Error instance

(code int32, format string, args ...interface{})

Source from the content-addressed store, hash-verified

27
28// Errorf return the tars.Error instance
29func Errorf(code int32, format string, args ...interface{}) *Error {
30 return &Error{Code: code, Message: fmt.Sprintf(format, args...)}
31}

Callers 1

AddMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected