| 64 | std::string file_path; |
| 65 | std::string full_message; |
| 66 | FileExceptionBase(std::string message, std::string file_path="") |
| 67 | : ExceptionBase(message), |
| 68 | file_path(file_path), |
| 69 | full_message(message + |
| 70 | (file_path != "" |
| 71 | ? " for file " + file_path |
| 72 | : "")) { } |
| 73 | virtual const char* what() const noexcept override { |
| 74 | // Include file path in native C++ exception output (stderr / terminate). |
| 75 | return full_message.c_str(); |
nothing calls this directly
no outgoing calls
no test coverage detected