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")