Skip to main content

ValidationIssue Struct

A single reported issue from a Contract. More...

Declaration

struct simaai::neat::ValidationIssue { ... }

Included Headers

#include <ValidationReport.h>

Public Member Attributes Index

ValidationSeverityseverity = ValidationSeverity::Error
std::stringcontract_id
std::stringcode
std::stringmessage
intnode_index = -1
std::stringnode_kind
std::stringnode_label

Description

A single reported issue from a Contract.

Definition at line 41 of file ValidationReport.h.

Public Member Attributes

code

std::string simaai::neat::ValidationIssue::code

Definition at line 46 of file ValidationReport.h.

46 std::string code; // stable machine code (e.g. "SINK_NOT_LAST")

contract_id

std::string simaai::neat::ValidationIssue::contract_id

Definition at line 45 of file ValidationReport.h.

45 std::string contract_id; // Contract::id()

message

std::string simaai::neat::ValidationIssue::message

Definition at line 47 of file ValidationReport.h.

47 std::string message; // human readable

node_index

int simaai::neat::ValidationIssue::node_index = -1

Definition at line 50 of file ValidationReport.h.

50 int node_index = -1;

node_kind

std::string simaai::neat::ValidationIssue::node_kind

Definition at line 51 of file ValidationReport.h.

51 std::string node_kind;

node_label

std::string simaai::neat::ValidationIssue::node_label

Definition at line 52 of file ValidationReport.h.

52 std::string node_label;

severity

ValidationSeverity simaai::neat::ValidationIssue::severity = ValidationSeverity::Error

The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.1.