Files

12 lines
289 B
Go
Raw Permalink Normal View History

package store
import (
"errors"
)
// ErrNotFound is returned when a record is not found in the store.
var ErrNotFound = errors.New("store: not found")
// ErrDuplicate is returned when attempting to create a record that already exists.
var ErrDuplicate = errors.New("store: duplicate")