Versions in this module Expand all Collapse all v1 v1.5.4 Jan 28, 2022 Changes in this version + type ErrorSet struct + func NewErrorSet(root string) *ErrorSet + func (errorSet *ErrorSet) AddErr(err error, keyPathNodes ...interface{}) + func (errorSet *ErrorSet) Each(cb func(fieldErr *FieldError)) + func (errorSet *ErrorSet) Err() error + func (errorSet *ErrorSet) Error() string + func (errorSet *ErrorSet) Flatten() *ErrorSet + func (errorSet *ErrorSet) Len() int + type FieldError struct + Error error + Field KeyPath + type KeyPath []interface + func (keyPath KeyPath) String() string + type MissingRequiredFieldError struct + func (MissingRequiredFieldError) Error() string + type MultipleOfError struct + Current interface{} + MultipleOf interface{} + Target string + func (e *MultipleOfError) Error() string + type NotInEnumError struct + Current interface{} + Enums []interface{} + Target string + func (e *NotInEnumError) Error() string + type NotMatchError struct + Current interface{} + Pattern *regexp.Regexp + Target string + func (err *NotMatchError) Error() string + type OutOfRangeError struct + Current interface{} + ExclusiveMaximum bool + ExclusiveMinimum bool + Maximum interface{} + Minimum interface{} + Target string + func (e *OutOfRangeError) Error() string + type SyntaxError struct + Msg string + func NewSyntaxError(format string, args ...interface{}) *SyntaxError + func (e *SyntaxError) Error() string + type UnsupportedTypeError struct + func NewUnsupportedTypeError(typ string, rule string, msgs ...string) *UnsupportedTypeError + func (e *UnsupportedTypeError) Error() string