Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HumanizeJSONError ¶ added in v5.34.0
HumanizeJSONError extracts error offsets and annotates the error with useful context
Types ¶
type HumanizedJSONError ¶ added in v5.34.0
func NewHumanizedJSONError ¶ added in v5.34.0
func NewHumanizedJSONError(err error, data []byte, offset int64) *HumanizedJSONError
func (*HumanizedJSONError) Error ¶ added in v5.34.0
func (e *HumanizedJSONError) Error() string
Click to show internal directories.
Click to hide internal directories.