MCPcopy
hub / github.com/ardanlabs/service / String

Method String

app/sdk/errs/errs.go:16–18  ·  view source on GitHub ↗

String returns the string representation of the error code.

()

Source from the content-addressed store, hash-verified

14
15// String returns the string representation of the error code.
16func (ec ErrCode) String() string {
17 return codeNames[ec]
18}
19
20// UnmarshalText implement the unmarshal interface for JSON conversions.
21func (ec *ErrCode) UnmarshalText(data []byte) error {

Callers 15

MarshalTextMethod · 0.95
AuthorizeMethod · 0.45
test1Function · 0.45
test2Function · 0.45
test3Function · 0.45
test4Function · 0.45
test5Function · 0.45
test6Function · 0.45
newUnitFunction · 0.45
TokenFunction · 0.45
doMethod · 0.45
authorizeRequestToGRPCFunction · 0.45

Calls

no outgoing calls

Tested by 15

test1Function · 0.36
test2Function · 0.36
test3Function · 0.36
test4Function · 0.36
test5Function · 0.36
test6Function · 0.36
newUnitFunction · 0.36
update200Function · 0.36
toAppUserFunction · 0.36
query200Function · 0.36
create200Function · 0.36
update200Function · 0.36