OpenShot Library | libopenshot
0.2.5
|
Go to the documentation of this file.
31 #ifndef OPENSHOT_EXCEPTIONS_H
32 #define OPENSHOT_EXCEPTIONS_H
51 virtual const char*
what() const noexcept {
InvalidOptions(std::string message, std::string file_path="")
Constructor.
BaseException(std::string message)
virtual ~ReaderClosed() noexcept
Exception when invalid sample rate is detected during encoding.
Exception when no valid codec is found for a file.
Exception when a writer is closed, and a frame is requested.
InvalidCodec(std::string message, std::string file_path="")
Constructor.
This namespace is the default namespace for all code in the openshot library.
virtual ~NoStreamsFound() noexcept
virtual ~OutOfBoundsFrame() noexcept
virtual ~InvalidJSONKey() noexcept
InvalidChannels(std::string message, std::string file_path="")
Constructor.
virtual ~ChunkNotFound() noexcept
virtual ~DecklinkError() noexcept
ResampleError(std::string message, std::string file_path="")
Constructor.
InvalidJSONKey(std::string message, std::string json)
Constructor.
Exception when too many seek attempts happen.
Exception for frames that are out of bounds.
Exception when encoding audio packet.
ReaderClosed(std::string message, std::string file_path="")
Constructor.
virtual ~ErrorEncodingAudio() noexcept
virtual ~OutOfMemory() noexcept
virtual ~WriterClosed() noexcept
Exception when accessing a blackmagic decklink card.
ErrorEncodingVideo(std::string message, int64_t frame_number)
Constructor.
Exception for an out of bounds key-frame point.
Exception when a required chunk is missing.
DecklinkError(std::string message)
Constructor.
NoStreamsFound(std::string message, std::string file_path="")
Constructor.
Exception when encoding audio packet.
OutOfMemory(std::string message, std::string file_path="")
Constructor.
Exception when resample fails.
virtual ~InvalidSampleRate() noexcept
Exception for invalid JSON.
ChunkNotFound(std::string message, int64_t frame_number, int64_t chunk_number, int64_t chunk_frame)
Constructor.
virtual const char * what() const noexcept
Base exception class with a custom message variable.
WriterClosed(std::string message, std::string file_path="")
Constructor.
InvalidJSON(std::string message, std::string file_path="")
Constructor.
Exception when memory could not be allocated.
virtual ~ErrorEncodingVideo() noexcept
OutOfBoundsFrame(std::string message, int64_t frame_requested, int64_t max_frames)
Constructor.
OutOfBoundsPoint(std::string message, int point_requested, int max_points)
Constructor.
virtual ~TooManySeeks() noexcept
virtual ~InvalidJSON() noexcept
virtual ~OutOfBoundsPoint() noexcept
Exception for files that can not be found or opened.
virtual ~InvalidFile() noexcept
Exception when a reader is closed, and a frame is requested.
TooManySeeks(std::string message, std::string file_path="")
Constructor.
InvalidFile(std::string message, std::string file_path)
Constructor.
virtual ~InvalidCodec() noexcept
virtual ~BaseException() noexcept
virtual ~ErrorDecodingAudio() noexcept
Exception when an invalid # of audio channels are detected.
ErrorDecodingAudio(std::string message, int64_t frame_number)
Constructor.
virtual ~InvalidOptions() noexcept
InvalidSampleRate(std::string message, std::string file_path="")
Constructor.
Exception when invalid encoding options are used.
Exception when decoding audio packet.
Exception when no streams are found in the file.
virtual ~InvalidChannels() noexcept
Exception for missing JSON Change key.
ErrorEncodingAudio(std::string message, int64_t frame_number)
Constructor.
virtual ~ResampleError() noexcept