Add missing error message

This commit is contained in:
badaix 2021-12-16 23:35:11 +01:00
parent 4fc435735d
commit 114fe2c3bb

View file

@ -45,6 +45,8 @@ std::string category::message(int value) const
return "Success"; return "Success";
case ControlErrc::can_not_control: case ControlErrc::can_not_control:
return "Stream can not be controlled"; return "Stream can not be controlled";
case ControlErrc::can_go_next_is_false:
return "Stream property can_go_next is false";
case ControlErrc::can_go_previous_is_false: case ControlErrc::can_go_previous_is_false:
return "Stream property can_go_previous is false"; return "Stream property can_go_previous is false";
case ControlErrc::can_play_is_false: case ControlErrc::can_play_is_false: