Files
navidrome/model/errors.go
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
559 B
Go
Raw Normal View History

2020-01-21 17:18:46 -05:00
package model
import (
"errors"
"github.com/deluan/rest"
)
2020-01-21 17:18:46 -05:00
var (
ErrNotFound = rest.ErrNotFound
2026-08-19 08:49:15 -04:00
ErrInvalidAuth = errors.New("invalid authentication")
ErrNotAuthorized = rest.ErrPermissionDenied
2026-08-19 08:49:15 -04:00
ErrExpired = errors.New("access expired")
ErrNotAvailable = errors.New("functionality not available")
ErrValidation = errors.New("validation error")
ErrPlaylistNotEditable = errors.New("playlist tracks are not editable")
ErrIncompleteQueue = errors.New("could not load all play queue tracks")
2020-01-21 17:18:46 -05:00
)