Base for FFmpeg backend errors.
More...
#include <StormByte/multimedia/ffmpeg/exception.hxx>
|
| struct | Path |
| | Additional path segments nested below StormByte.Multimedia.AV. More...
|
Base for FFmpeg backend errors.
what() is StormByte.Multimedia.AV: message.
A further segment (BSF, Decoder, Encoder) is an Path. Literal {} are replaced by StormByte::Safe::String::ReplaceToken. Only literal {} tokens are replaced.
◆ Exception() [1/6]
template<typename... Args>
requires (sizeof...(Args) >= 1)
| StormByte::Multimedia::FFmpeg::Exception::Exception |
( |
std::string_view | pattern, |
|
|
Args &&... | args ) |
|
inlineexplicit |
Replace literal {} under StormByte.Multimedia.AV.
- Template Parameters
-
| Args | Views, numbers, or types that convert to std::string. A number uses std::to_string. |
- Parameters
-
| pattern | Body with literal {} tokens. |
| args | Replacements. One per token, in order. |
◆ Exception() [2/6]
| StormByte::Multimedia::FFmpeg::Exception::Exception |
( |
std::string_view | message | ) |
|
|
explicit |
Copy a borrowed plain message under StormByte.Multimedia.AV.
- Parameters
-
◆ Exception() [3/6]
template<typename... Args>
requires (sizeof...(Args) >= 1)
| StormByte::Multimedia::FFmpeg::Exception::Exception |
( |
Path | path, |
|
|
std::string_view | pattern, |
|
|
Args &&... | args ) |
|
inlineexplicit |
Replace literal {} under an additional AV path.
- Template Parameters
-
| Args | Views, numbers, or types that convert to std::string. A number uses std::to_string. |
- Parameters
-
| path | Additional segments nested below StormByte.Multimedia.AV. |
| pattern | Body with literal {} tokens. |
| args | Replacements. One per token, in order. |
◆ Exception() [4/6]
| StormByte::Multimedia::FFmpeg::Exception::Exception |
( |
Path | path, |
|
|
std::string_view | message ) |
|
explicit |
Copy a borrowed plain message under an additional AV path.
- Parameters
-
| path | Additional segments nested below StormByte.Multimedia.AV. |
| message | Exception text. Not a format string. |
◆ Exception() [5/6]
| StormByte::Multimedia::FFmpeg::Exception::Exception |
( |
const Exception & | other | ) |
|
Copy constructor.
- Parameters
-
◆ Exception() [6/6]
| StormByte::Multimedia::FFmpeg::Exception::Exception |
( |
Exception && | other | ) |
|
|
noexcept |
Move constructor.
- Parameters
-
◆ ~Exception()
| StormByte::Multimedia::FFmpeg::Exception::~Exception |
( |
| ) |
|
|
overridevirtualnoexcept |
◆ operator=() [1/2]
| Exception & StormByte::Multimedia::FFmpeg::Exception::operator= |
( |
const Exception & | other | ) |
|
Copy assignment.
- Parameters
-
- Returns
- *this.
◆ operator=() [2/2]
Move assignment.
- Parameters
-
- Returns
- *this.
The documentation for this class was generated from the following file: