MCPcopy Create free account
hub / github.com/Done-0/gin-scaffold / Code

Method Code

internal/utils/errorx/error_utils.go:13–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11type StatusError interface {
12 error
13 Code() int32 // Get error code
14 Msg() string // Get error message
15 Extra() map[string]string // Get extra information
16 Params() map[string]any // Get template parameters

Callers

nothing calls this directly

Implementers 2

statusErrorinternal/utils/errorx/internal/status.
withStatusinternal/utils/errorx/internal/status.

Calls

no outgoing calls

Tested by

no test coverage detected