By surrounding most ESP-IDF API calls with this new macro, their failure will result in a CircuitPython exception.