Removing engine.ErrDataNotFound in favor of domain.ErrNotFound

This commit is contained in:
Deluan
2016-03-23 18:15:14 -04:00
parent c50b0bdc48
commit 1ed8c60130
10 changed files with 15 additions and 19 deletions
-3
View File
@@ -34,9 +34,6 @@ type PlaylistInfo struct {
func (p *playlists) Get(id string) (*PlaylistInfo, error) {
pl, err := p.plsRepo.Get(id)
if err == domain.ErrNotFound {
return nil, ErrDataNotFound
}
if err != nil {
return nil, err
}