GraphQL API and utilities for the rpdata project
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
package repositories
import "errors"
// ErrNotFound should be returned instead of any database-specific not found error.
var ErrNotFound = errors.New("resource not found")
// ErrInvalidPosition is returned when the log post is attempted moved outside of the range.
var ErrInvalidPosition = errors.New("position is out of bounds")
// ErrParentMismatch is returned if the list refer to different parent objects when it shouldn't.
var ErrParentMismatch = errors.New("parent resource is not the same for the entire list")
// ErrTagExists is returned if an existing tag is added again.
var ErrTagExists = errors.New("tag already exists")
// ErrTagDoesNotExist is returned if a non-existing tag is attempted removed.
var ErrTagDoesNotExist = errors.New("tag already exists")
|