Replace and remove ErrNilParameter with ErrInvalidParameter (#295)

This commit is contained in:
Michael Gaffney authored and GitHub committed 2020-08-25 12:18:14 -04:00
1 parent 8f579c75c3
commit de162c5533
44 files changed
+187 -190

No files matched your search

-3
View File
@@ -28,9 +28,6 @@ var (
// to the repository resulted in a unique constraint violation.
ErrNotUnique = errors.New("unique constraint violation")
// ErrNilParameter is returned when a required parameter is nil.
ErrNilParameter = errors.New("nil parameter")
// ErrRecordNotFound returns a "record not found" error and it only occurs
// when attempting to read from the database into struct.
// When reading into a slice it won't return this error.