| 707 | } |
| 708 | |
| 709 | virtual ErrorDesc getErrorDesc(int32_t errorIdx) const noexcept override |
| 710 | { |
| 711 | try |
| 712 | { |
| 713 | PYBIND11_OVERLOAD_PURE_NAME(ErrorDesc, IErrorRecorder, "get_error_desc", getErrorDesc, errorIdx); |
| 714 | } |
| 715 | catch (std::exception const& e) |
| 716 | { |
| 717 | std::cerr << "[ERROR] Exception caught in get_error_desc(): " << e.what() << std::endl; |
| 718 | } |
| 719 | catch (...) |
| 720 | { |
| 721 | std::cerr << "[ERROR] Exception caught in get_error_desc()" << std::endl; |
| 722 | } |
| 723 | return {}; |
| 724 | } |
| 725 | |
| 726 | virtual void clear() noexcept override |
| 727 | { |
nothing calls this directly
no test coverage detected