PlaylistError: add NotPlaying()
This commit is contained in:
@@ -64,6 +64,11 @@ public:
|
||||
return PlaylistError(PlaylistResult::BAD_RANGE,
|
||||
"Bad song index");
|
||||
}
|
||||
|
||||
static PlaylistError NotPlaying() {
|
||||
return PlaylistError(PlaylistResult::NOT_PLAYING,
|
||||
"Not playing");
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user