Skip to content

GuitarPrometheus::Profiles::ProfileIssue

GuitarPrometheus::Profiles::ProfileIssue

A single validation finding produced by [ProfileValidator](). More…

#include <ProfileIssue.h>

Public Attributes

Name
IssueSeverityseverity
Error or Warning.
std::stringfield
Dotted path to the field that produced the issue.
std::stringreason
Human-readable reason; goes into the DiagnosticReport verbatim.
std::optional< juce::File >sourceFile
File the issue came from.

Detailed Description

struct GuitarPrometheus::Profiles::ProfileIssue;

A single validation finding produced by [ProfileValidator]().

Used both directly (clipboard imports) and wrapped in a [ProfileLoadResult](/api-reference/classes/structguitarprometheus_1_1profiles_1_1profileloadresult/) (file loads).

Public Attributes Documentation

variable severity

IssueSeverity severity;

Error or Warning.

variable field

std::string field;

Dotted path to the field that produced the issue.

Examples: “name”, “techniqueKeyswitches.PalmMute”.

variable reason

std::string reason;

Human-readable reason; goes into the DiagnosticReport verbatim.

Should include the offending value where relevant.

variable sourceFile

std::optional< juce::File > sourceFile;

File the issue came from.

nullopt for clipboard imports or in-memory validation.


Updated on 2026-05-29 at 07:39:52 +0000