Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidSpecification = errors.New("specification must be a struct pointer") ErrNotAStruct = errors.New("cannot wrap a non-struct type") ErrNotExported = errors.New("field is not exported") ErrNotSettable = errors.New("field is not settable") ErrMissingRequiredField = errors.New("required field is zero valued") )
Functions ¶
This section is empty.
Types ¶
type ParseError ¶
func (*ParseError) Error ¶
func (e *ParseError) Error() string
func (*ParseError) Is ¶
func (e *ParseError) Is(target error) bool
func (*ParseError) Unwrap ¶
func (e *ParseError) Unwrap() error
type ValidationError ¶
func (*ValidationError) Error ¶
func (e *ValidationError) Error() string
func (*ValidationError) Is ¶
func (e *ValidationError) Is(target error) bool
func (*ValidationError) Unwrap ¶
func (e *ValidationError) Unwrap() error
type ValidationErrors ¶
type ValidationErrors []*ValidationError
func (ValidationErrors) Error ¶
func (e ValidationErrors) Error() string
Click to show internal directories.
Click to hide internal directories.