Exception when invalid encoding options are used
| 236 | |
| 237 | /// Exception when invalid encoding options are used |
| 238 | class InvalidOptions : public FileExceptionBase |
| 239 | { |
| 240 | public: |
| 241 | /** |
| 242 | * @brief Constructor |
| 243 | * |
| 244 | * @param message A message to accompany the exception |
| 245 | * @param file_path (optional) The input file being processed |
| 246 | */ |
| 247 | InvalidOptions(std::string message, std::string file_path="") |
| 248 | : FileExceptionBase(message, file_path) { } |
| 249 | virtual ~InvalidOptions() noexcept {} |
| 250 | }; |
| 251 | |
| 252 | /// Exception when invalid sample rate is detected during encoding |
| 253 | class InvalidSampleRate : public FileExceptionBase |
no outgoing calls
no test coverage detected