mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
31edd48b43
* 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
12 lines
183 B
C++
12 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
|