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

Class InvalidFormat

src/Exceptions.h:208–220  ·  view source on GitHub ↗

Exception when no valid format is found for a file

Source from the content-addressed store, hash-verified

206
207 /// Exception when no valid format is found for a file
208 class InvalidFormat : public FileExceptionBase
209 {
210 public:
211 /**
212 * @brief Constructor
213 *
214 * @param message A message to accompany the exception
215 * @param file_path (optional) The input file being processed
216 */
217 InvalidFormat(std::string message, std::string file_path="")
218 : FileExceptionBase(message, file_path) { }
219 virtual ~InvalidFormat() noexcept {}
220 };
221
222 /// Exception for invalid JSON
223 class InvalidJSON : public FileExceptionBase

Callers 1

auto_detect_formatMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected