MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / FormatErrType

Function FormatErrType

monitoring/format/format.go:16–18  ·  view source on GitHub ↗

FormatErrType formats error type string with error concrete type

(errType string, err error)

Source from the content-addressed store, hash-verified

14
15// FormatErrType formats error type string with error concrete type
16func FormatErrType(errType string, err error) string {
17 return fmt.Sprintf("%s_error (%s)", errType, errctx.ErrorType(err))
18}

Callers 3

SendErrorMethod · 0.92
SendErrorMethod · 0.92
SendErrorMethod · 0.92

Calls 1

ErrorTypeFunction · 0.92

Tested by

no test coverage detected