errdefs

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidCopyDestination        = errors.New("copy destination must be non-nil and addressable")
	ErrInvalidCopyFrom               = errors.New("copy from must be non-nil and addressable")
	ErrMapKeyNotMatch                = errors.New("map's key type doesn't match")
	ErrNotSupported                  = errors.New("not supported")
	ErrFieldNameTagStartNotUpperCase = errors.New("copier field name tag must be start upper case")
	ErrInvalidStructType             = errors.New("provided value is not a struct or pointer to struct")
	ErrUnsupportedKind               = errors.New("unsupported reflect.Kind encountered")
	ErrFieldNotSettable              = errors.New("cannot set value to field")
	ErrMismatchedStructTypes         = errors.New("structs must be of the same type")
	ErrNotPointerToStruct            = errors.New("input must be a pointer to a struct")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL