SessionError Class
Framework exception type carrying a structured SessionReport. More...
Declaration
Included Headers
Base class
| class | std::runtime_error |
Public Constructors Index
| SessionError (std::string msg) | |
|
Construct from a message only (no structured report — used for early/internal failures). More... | |
| SessionError (std::string msg, SessionReport report) | |
|
Construct from a message and an attached structured report. More... | |
Public Member Functions Index
| const SessionReport & | report () const |
|
Returns the structured SessionReport (machine-readable error details for triage). More... | |
Private Member Attributes Index
| SessionReport | report_ |
Description
Framework exception type carrying a structured SessionReport.
Catch SessionError (or std::runtime_error) from any framework call that can fail. Use the report() accessor to get machine-readable error details for triage.
- See Also
SessionReport for the structured payload
- See Also
"Validation API" (§29 of the design deep dive)
Definition at line 43 of file SessionError.h.
Public Constructors
SessionError()
| inline explicit |
Construct from a message only (no structured report — used for early/internal failures).
Definition at line 46 of file SessionError.h.
SessionError()
| inline |
Construct from a message and an attached structured report.
Definition at line 48 of file SessionError.h.
Public Member Functions
report()
| inline |
Returns the structured SessionReport (machine-readable error details for triage).
Definition at line 51 of file SessionError.h.
Private Member Attributes
report_
|
Definition at line 56 of file SessionError.h.
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.