MCPcopy Index your code
hub / github.com/dunglas/httpsfv / Error

Method Error

decode.go:20–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18}
19
20func (e *UnmarshalError) Error() string {
21 if e.err != nil {
22 return fmt.Sprintf("%s: character %d", e.err, e.off)
23 }
24
25 return fmt.Sprintf("unmarshal error: character %d", e.off)
26}
27
28func (e *UnmarshalError) Unwrap() error {
29 return e.err

Callers 4

TestDecodeErrorFunction · 0.80
TestMarshalBinaryFunction · 0.80
TestMarshalBooleanFunction · 0.80

Calls

no outgoing calls

Tested by 4

TestDecodeErrorFunction · 0.64
TestMarshalBinaryFunction · 0.64
TestMarshalBooleanFunction · 0.64