Skip to content

Exceptions

IDLive Face API throws three kind of exceptions all of which derive from std::runtime_error.

The first type, idliveface::Exception, can be thrown when an invalid parameter has been provided or when an unrecoverable internal error has occurred.

The second type, idliveface::ImageDecodingException, it is thrown when the image provided can not be properly decoded.

Finally the third type, idliveface::LicenseException it is thrown when the license is not valid anymore or when a new license cannot be set.