Searched refs:ESPException (Results 1 – 13 of 13) sorted by relevance
/hal_espressif-3.4.0/examples/cxx/experimental/experimental_cpp_component/test/ |
D | test_cxx_exceptions.cpp | 25 TEST_THROW(throw ESPException(ESP_FAIL);, ESPException); 32 TEST_THROW(throw std::exception();, ESPException); 37 TEST_THROW(printf(" ");, ESPException); // need statement with effect 49 TEST_THROW(CHECK_THROW(error), ESPException); 55 throw ESPException(ESP_FAIL); 56 } catch (ESPException &e) {
|
/hal_espressif-3.4.0/examples/cxx/experimental/experimental_cpp_component/include/ |
D | esp_exception.hpp | 33 class ESPException : public std::exception { class 38 ESPException(esp_err_t error); 40 virtual ~ESPException() { } in ~ESPException() 60 if (result != ESP_OK) throw idf::ESPException(result); \
|
D | esp_event_cxx.hpp | 47 class EventException : public ESPException { 49 EventException(esp_err_t error) : ESPException(error) { } in EventException() 460 throw ESPException(result); in post_event_data()
|
D | gpio_cxx.hpp | 19 struct GPIOException : public ESPException {
|
D | i2c_cxx.hpp | 25 struct I2CException : public ESPException {
|
/hal_espressif-3.4.0/examples/cxx/experimental/experimental_cpp_component/host_test/esp_timer/main/ |
D | esp_timer_test.cpp | 97 CHECK_THROWS_AS(ESPTimer(nullptr), ESPException&); 103 CHECK_THROWS_AS(ESPTimer(nothing, "test"), ESPException&); 124 CHECK_THROWS_AS(timer.start(chrono::microseconds(5000)), ESPException&); 136 CHECK_THROWS_AS(timer.start_periodic(chrono::microseconds(5000)), ESPException&); 151 CHECK_THROWS_AS(timer.stop(), ESPException&);
|
/hal_espressif-3.4.0/examples/cxx/experimental/experimental_cpp_component/ |
D | esp_exception.cpp | 21 ESPException::ESPException(esp_err_t error) : error(error) { } in ESPException() function in idf::ESPException 23 const char *ESPException::what() const noexcept { in what()
|
D | esp_timer_cxx.cpp | 31 throw ESPException(ESP_ERR_INVALID_ARG); in ESPTimer()
|
D | gpio_cxx.cpp | 39 GPIOException::GPIOException(esp_err_t error) : ESPException(error) { } in GPIOException()
|
D | esp_event_cxx.cpp | 149 throw ESPException(result); in post_event_data()
|
D | i2c_cxx.cpp | 25 I2CException::I2CException(esp_err_t error) : ESPException(error) { } in I2CException()
|
/hal_espressif-3.4.0/examples/cxx/experimental/esp_mqtt_cxx/components/esp_mqtt_cxx/include/ |
D | esp_mqtt.hpp | 34 struct MQTTException : ESPException { 35 using ESPException::ESPException;
|
/hal_espressif-3.4.0/examples/cxx/experimental/esp_timer_cxx/main/ |
D | esp_timer_example.cpp | 35 } catch (const ESPException &e) { in app_main()
|