mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-29 15:17:43 +00:00
11 lines
292 B
Go
11 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")
|
||
|
)
|