MillicastSDK 2.0.0
|
#include <error.h>
Public Member Functions | |
Exception (const Error &err) | |
Exception (Error &&err) | |
const Error & | get_error () const |
Get the Error object passed with this exception. | |
The Millicast SDK exception.
Errors are being notified by the SDK by returning the Error objects to the Promise error callback. In rare circumstances where the SDK may throw, the thrown exception will be of type std::runtime_error, or millicast::Exception. The Exception class carries a proper Error instance.
millicast::Exception::Exception | ( | const Error & | err | ) |
millicast::Exception::Exception | ( | Error && | err | ) |
const Error & millicast::Exception::get_error | ( | ) | const |