wrapSyntacticError wraps an error and annotates it with a precise location using the provided [encoderState] or [decoderState]. If err is an [ioError] or [io.EOF], then it is not wrapped. It takes a relative offset pos that can be resolved into an absolute offset using state.offsetAt. It takes a w
(state interface {
options() *jsonopts.Struct
offsetAt(pos int) int64
AppendStackPointer(b []byte, where int) []byte
}, err error, pos, where int)
source not stored for this graph (policy: none)
no test coverage detected
searching dependent graphs…