diff options
Diffstat (limited to 'internal/db/error.go')
| -rw-r--r-- | internal/db/error.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/db/error.go b/internal/db/error.go index 43dd34df7..eccb219b3 100644 --- a/internal/db/error.go +++ b/internal/db/error.go @@ -29,4 +29,8 @@ var ( // ErrAlreadyExists is returned when a conflict was encountered in the db when doing an insert. ErrAlreadyExists = errors.New("already exists") + + // ErrMultipleEntries is returned when multiple entries + // are found in the db when only one entry is sought. + ErrMultipleEntries = errors.New("multiple entries") ) |
