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