Skip to content

Commit

Permalink
Merge pull request #174 from bryndin/db_update_error_text
Browse files Browse the repository at this point in the history
Provide more clarity on the problem in the error message.
  • Loading branch information
uded committed Jan 31, 2023
2 parents f0faaa4 + 3b5ec97 commit 20cee7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package copier
import "errors"

var (
ErrInvalidCopyDestination = errors.New("copy destination is invalid")
ErrInvalidCopyFrom = errors.New("copy from is invalid")
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")
Expand Down

0 comments on commit 20cee7e

Please sign in to comment.