Home
last modified time | relevance | path

Searched refs:ESPException (Results 1 – 13 of 13) sorted by relevance

/hal_espressif-3.4.0/examples/cxx/experimental/experimental_cpp_component/test/
Dtest_cxx_exceptions.cpp25 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/
Desp_exception.hpp33 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); \
Desp_event_cxx.hpp47 class EventException : public ESPException {
49 EventException(esp_err_t error) : ESPException(error) { } in EventException()
460 throw ESPException(result); in post_event_data()
Dgpio_cxx.hpp19 struct GPIOException : public ESPException {
Di2c_cxx.hpp25 struct I2CException : public ESPException {
/hal_espressif-3.4.0/examples/cxx/experimental/experimental_cpp_component/host_test/esp_timer/main/
Desp_timer_test.cpp97 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/
Desp_exception.cpp21 ESPException::ESPException(esp_err_t error) : error(error) { } in ESPException() function in idf::ESPException
23 const char *ESPException::what() const noexcept { in what()
Desp_timer_cxx.cpp31 throw ESPException(ESP_ERR_INVALID_ARG); in ESPTimer()
Dgpio_cxx.cpp39 GPIOException::GPIOException(esp_err_t error) : ESPException(error) { } in GPIOException()
Desp_event_cxx.cpp149 throw ESPException(result); in post_event_data()
Di2c_cxx.cpp25 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/
Desp_mqtt.hpp34 struct MQTTException : ESPException {
35 using ESPException::ESPException;
/hal_espressif-3.4.0/examples/cxx/experimental/esp_timer_cxx/main/
Desp_timer_example.cpp35 } catch (const ESPException &e) { in app_main()