| 690 | { |
| 691 | public: |
| 692 | virtual ErrorCode getErrorCode(int32_t errorIdx) const noexcept override |
| 693 | { |
| 694 | try |
| 695 | { |
| 696 | PYBIND11_OVERLOAD_PURE_NAME(ErrorCode, IErrorRecorder, "get_error_code", getErrorCode, errorIdx); |
| 697 | } |
| 698 | catch (std::exception const& e) |
| 699 | { |
| 700 | std::cerr << "[ERROR] Exception caught in get_error_code(): " << e.what() << std::endl; |
| 701 | } |
| 702 | catch (...) |
| 703 | { |
| 704 | std::cerr << "[ERROR] Exception caught in get_error_code()" << std::endl; |
| 705 | } |
| 706 | return {}; |
| 707 | } |
| 708 | |
| 709 | virtual ErrorDesc getErrorDesc(int32_t errorIdx) const noexcept override |
| 710 | { |
nothing calls this directly
no test coverage detected