Struct Issue

Struct Documentation

struct Issue

Public Functions

Issue() = default
inline Issue(Severity severity, std::string message)
inline Issue(Severity severity, Primitive primitive, Id id, std::string message)
inline std::string buildReport() const

Public Members

Severity severity = {Severity::Error}

Severity class of issue.

Primitive primitive = {Primitive::Point}

Type of primitive that caused the issue.

Id id = {InvalId}

the id of primitive that caused the issue

std::string message

Message to be displayed.