--- tags: - C - ESP32 - ESP-IDF --- A macro for handling errors arising from the ESP-IDF API's functions. If a function returns anything other than `ESP_OK`, the macro prints a detailed error message and then calls `abort()` to halt execution. To achieve the same without aborting use `ESP_ERROR_CHECK_WITHOUT_ABORT`.