| 48 | FrameExceptionBase(std::string message, int64_t frame_number=-1) |
| 49 | : ExceptionBase(message), frame_number(frame_number) { } |
| 50 | virtual std::string py_message() const override { |
| 51 | // return complete message for Python exception handling |
| 52 | std::string out_msg(m_message + |
| 53 | (frame_number > 0 |
| 54 | ? " at frame " + std::to_string(frame_number) |
| 55 | : "")); |
| 56 | return out_msg; |
| 57 | } |
| 58 | }; |
| 59 | |
| 60 |
nothing calls this directly
no outgoing calls
no test coverage detected