MCPcopy Index your code
hub / github.com/bracesdev/errtrace / Format

Method Format

errtrace.go:118–125  ·  view source on GitHub ↗
(s fmt.State, verb rune)

Source from the content-addressed store, hash-verified

116}
117
118func (e *errTrace) Format(s fmt.State, verb rune) {
119 if verb == 'v' && s.Flag('+') {
120 _ = Format(s, e)
121 return
122 }
123
124 fmt.Fprintf(s, fmt.FormatString(s, verb), e.err)
125}
126
127// LogValue implements the [slog.LogValuer] interface.
128func (e *errTrace) LogValue() slog.Value {

Callers

nothing calls this directly

Calls 1

FormatFunction · 0.85

Tested by

no test coverage detected