TAVBlocksException

primo::avblocks::modern::TAVBlocksException

class TAVBlocksException : public std::runtime_error

Exception thrown when an AVBlocks operation fails.

what() returns the context of the failure followed by the error message, when there is one. Use error() to get the complete error information.

Public Functions

inline TAVBlocksException(const char *context, const TErrorInfo &error)

Creates the exception.

Parameters:
  • context – Short description of the failed operation, e.g. “Failed to open transcoder”.

  • error – Error information reported by AVBlocks.

inline const TErrorInfo &error() const

Returns the error information reported by AVBlocks.