LpBuildErrorInfo struct
#include <gtopt/lp_build_error.hpp>
Structured context of one LP-assembly failure.
Public variables
- std::optional<Uid> block
- Block uid, when relevant.
- std::string class_name
- Element class, e.g. "Generator".
- std::string detail
- Free-form explanation / original message.
- std::string expected
- What the value should have been.
- std::string field
- Offending input field (may be empty).
- std::string name
- Element name (may be empty).
- std::optional<Uid> scenario
- Scenario uid, when relevant.
- std::optional<Uid> stage
- Stage uid, when relevant.
- std::optional<Uid> uid
- Element uid.
- std::string value
- Offending value, as text (may be empty).