MCPcopy Create free account
hub / github.com/blues/note / error

Method error

jsonxt/encode.go:312–314  ·  view source on GitHub ↗

error aborts the encoding by panicking with err wrapped in jsonError.

(err error)

Source from the content-addressed store, hash-verified

310
311// error aborts the encoding by panicking with err wrapped in jsonError.
312func (e *encodeState) error(err error) {
313 panic(jsonError{err})
314}
315
316func isEmptyValue(v reflect.Value) bool {
317 switch v.Kind() {

Callers 8

marshalerEncoderFunction · 0.45
addrMarshalerEncoderFunction · 0.45
textMarshalerEncoderFunction · 0.45
addrTextMarshalerEncoderFunction · 0.45
encodeMethod · 0.45
stringEncoderFunction · 0.45
unsupportedTypeEncoderFunction · 0.45
encodeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected