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
+1 -1
View File
@@ -82,7 +82,7 @@ func (b *browser) Directory(id string) (*DirectoryInfo, error) {
dir = b.buildAlbumDir(al, tracks)
default:
beego.Debug("Id", id, "not found")
return nil, ErrDataNotFound
return nil, domain.ErrNotFound
}
return dir, nil