mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-14 16:07:42 +00:00
10 lines
292 B
Go
10 lines
292 B
Go
package domain
|
|
|
|
import "errors"
|
|
|
|
var (
|
|
// ErrNotFound will be returned if the requested item is not found
|
|
ErrNotFound = errors.New("requested item was not found")
|
|
// ErrConflict will be returned if the item being persisted already exists
|
|
ErrConflict = errors.New("item already exists")
|
|
)
|