MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / InvalidOptions

Class InvalidOptions

src/Exceptions.h:238–250  ·  view source on GitHub ↗

Exception when invalid encoding options are used

Source from the content-addressed store, hash-verified

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

Callers 3

SetOptionMethod · 0.85
PrepareStreamsMethod · 0.85
WriteHeaderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected