Exception when invalid sample rate is detected during encoding
| 251 | |
| 252 | /// Exception when invalid sample rate is detected during encoding |
| 253 | class InvalidSampleRate : public FileExceptionBase |
| 254 | { |
| 255 | public: |
| 256 | /** |
| 257 | * @brief Constructor |
| 258 | * |
| 259 | * @param message A message to accompany the exception |
| 260 | * @param file_path (optional) The input file being processed |
| 261 | */ |
| 262 | InvalidSampleRate(std::string message, std::string file_path="") |
| 263 | : FileExceptionBase(message, file_path) { } |
| 264 | virtual ~InvalidSampleRate() noexcept {} |
| 265 | }; |
| 266 | |
| 267 | /// Exception for missing JSON Change key |
| 268 | class InvalidJSONKey : public ExceptionBase |