MCPcopy Create free account
hub / github.com/Meng-Xin/take-out / GetCode

Method GetCode

common/retcode/retcode.go:27–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25}
26
27func (e *Error) GetCode() int {
28 return e.ErrCode
29}
30
31func NewError(code int, msg string) *Error {
32 return &Error{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected