| 70 | } |
| 71 | |
| 72 | [[noreturn]] void throw_unsupported_model(std::string_view task, std::string_view model, std::string_view valid_models) { |
| 73 | throw std::runtime_error( |
| 74 | "unsupported audio utility model for " + std::string(task) + ": " + std::string(model) + |
| 75 | " (valid: " + std::string(valid_models) + ")"); |
| 76 | } |
| 77 | |
| 78 | } // namespace |
| 79 |
no test coverage detected