* moved C++ examples to a new cxx folder in examples * added experimental C++ component * added ESPException class to the C++ experimental component * added test cases for ESPException and corresponding test macros
11 lines
183 B
C++
11 lines
183 B
C++
#ifdef __cpp_exceptions
|
|
|
|
#include "esp_exception.hpp"
|
|
|
|
namespace idf {
|
|
|
|
ESPException::ESPException(esp_err_t error) : error(error) { }
|
|
|
|
} // namespace idf
|
|
|
|
#endif // __cpp_exceptions
|