|
wiRedPanda
Logic Circuit Simulator
|
Value-captured exception details safe to forward across an event-loop boundary. More...
#include <Application.h>
Public Attributes | |
| QString | englishMessage |
| English message for Sentry; equals what for non-Pandaception types. | |
| QString | file |
| Throw-site file when the exception is a Pandaception, else empty. | |
| int | line = 0 |
| Throw-site line when the exception is a Pandaception, else 0. | |
| QString | what |
| The translated message for QMessageBox display. | |
Value-captured exception details safe to forward across an event-loop boundary.
std::exception references are not safe to capture in a deferred QMetaObject::invokeMethod callback — the exception object is destroyed when the catch block exits. ExceptionInfo holds copies of the bits we need so the deferred Application::handleException callback can run after the throw has finished unwinding.
Definition at line 29 of file Application.h.
| QString ExceptionInfo::englishMessage |
English message for Sentry; equals what for non-Pandaception types.
Definition at line 32 of file Application.h.
Referenced by Application::handleException().
| QString ExceptionInfo::file |
Throw-site file when the exception is a Pandaception, else empty.
Definition at line 33 of file Application.h.
Referenced by Application::handleException().
| int ExceptionInfo::line = 0 |
Throw-site line when the exception is a Pandaception, else 0.
Definition at line 34 of file Application.h.
Referenced by Application::handleException().
| QString ExceptionInfo::what |
The translated message for QMessageBox display.
Definition at line 31 of file Application.h.
Referenced by Application::handleException().