Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DecoderError ¶
type DecoderError struct {
// contains filtered or unexported fields
}
DecoderError represents an error due to JSON decoding.
func NewDecoderErrFromJSONIter ¶
func NewDecoderErrFromJSONIter(err error) DecoderError
NewDecoderErrFromJSONIter returns a DecoderError where any text from the original input is stripped, when decoded via jsoniter.
func (DecoderError) Error ¶
func (e DecoderError) Error() string
func (*DecoderError) Unwrap ¶
func (e *DecoderError) Unwrap() error
type ValidationError ¶
type ValidationError struct {
// contains filtered or unexported fields
}
ValidationError represents an error due to JSON validation.
func NewValidationErr ¶
func NewValidationErr(err error) ValidationError
NewValidationErr returns a ValidationError
func (ValidationError) Error ¶
func (e ValidationError) Error() string
func (*ValidationError) Unwrap ¶
func (e *ValidationError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.