HoviTron Video Pipeline
Public Member Functions | Data Fields
HvtError Class Reference
Inheritance diagram for HvtError:

Public Member Functions

 HvtError (HvtResult code)
 
const char * what () const noexcept override
 

Data Fields

HvtResult code
 

Detailed Description

Definition at line 113 of file DynamicInputProvider.cpp.

Constructor & Destructor Documentation

◆ HvtError()

HvtError::HvtError ( HvtResult  code)
inline

Definition at line 116 of file DynamicInputProvider.cpp.

116: code(code) {}

Member Function Documentation

◆ what()

const char * HvtError::what ( ) const
inlineoverridenoexcept

Definition at line 117 of file DynamicInputProvider.cpp.

117 {
118 auto it = err_map.find(code);
119 if(it == err_map.end()) {
120 return "INVALID_ERROR";
121 }
122 return it->second;
123 }

Field Documentation

◆ code

HvtResult HvtError::code

Definition at line 124 of file DynamicInputProvider.cpp.


The documentation for this class was generated from the following file: