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