NeatError.h File
NeatError — the framework's only exception type, carrying a structured GraphReport. More...
Included Headers
#include "pipeline/GraphReport.h"
#include <stdexcept>
#include <string>
#include <utility>
Namespaces Index
| namespace | simaai |
| namespace | neat |
Classes Index
| class | NeatError |
|
Framework exception type carrying a structured GraphReport. More... | |
Description
NeatError — the framework's only exception type, carrying a structured GraphReport.
Every Graph::build(), Model::run(), Run::push(), etc. that fails throws NeatError. The exception's what() string is human-readable; .report() returns the structured GraphReport with error_code, repro_note, GStreamer bus messages, a standalone gst-launch-1.0 reproducer, and DOT graph paths. Catch this exception type to handle all framework failures uniformly.
File Listing
The file content with the documentation metadata removed is:
14#include "pipeline/GraphReport.h"
20namespace simaai::neat {
48 NeatError(std::string msg, GraphReport report)
49 : std::runtime_error(std::move(msg)), report_(std::move(report)) {}
51 const GraphReport& report() const {
56 GraphReport report_;
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.