ValidationIssue Struct
A single reported issue from a Contract. More...
Declaration
Included Headers
Public Member Attributes Index
| ValidationSeverity | severity = ValidationSeverity::Error |
|
Severity of this issue. More... | |
| std::string | contract_id |
|
Contract::id() of the emitting contract. More... | |
| std::string | code |
|
Stable machine code (e.g., "SINK_NOT_LAST"). More... | |
| std::string | message |
|
Human-readable diagnostic. More... | |
| int | node_index = -1 |
|
Index in NodeGroup, or -1 if not Node-specific. More... | |
| std::string | node_kind |
|
Node::kind() of the offending Node, if any. More... | |
| std::string | node_label |
|
User label of the offending Node, if any. More... | |
Description
A single reported issue from a Contract.
Carries severity, the contract that emitted it, a machine-stable code (suitable for filtering/asserting in tests), a human-readable message, and best-effort Node location info.
Definition at line 57 of file ValidationReport.h.
Public Member Attributes
code
|
Stable machine code (e.g., "SINK_NOT_LAST").
Definition at line 62 of file ValidationReport.h.
contract_id
|
Contract::id() of the emitting contract.
Definition at line 61 of file ValidationReport.h.
message
|
Human-readable diagnostic.
Definition at line 63 of file ValidationReport.h.
node_index
|
Index in NodeGroup, or -1 if not Node-specific.
Definition at line 66 of file ValidationReport.h.
node_kind
|
Node::kind() of the offending Node, if any.
Definition at line 67 of file ValidationReport.h.
node_label
|
User label of the offending Node, if any.
Definition at line 68 of file ValidationReport.h.
severity
|
Severity of this issue.
Definition at line 58 of file ValidationReport.h.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.