MCPcopy Create free account
hub / github.com/marmotedu/iam / Code

Method Code

internal/pkg/code/code.go:32–34  ·  view source on GitHub ↗

Code returns the integer code of ErrCode.

()

Source from the content-addressed store, hash-verified

30
31// Code returns the integer code of ErrCode.
32func (coder ErrCode) Code() int {
33 return coder.C
34}
35
36// String implements stringer. String returns the external error message,
37// if any.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected