Class RunnerDiagnostic
Represents a diagnostic message from a generation run, such as a validation error or warning.
public record RunnerDiagnostic : IEquatable<RunnerDiagnostic>
- Inheritance
-
RunnerDiagnostic
- Implements
- Inherited Members
Constructors
RunnerDiagnostic(string, bool)
Represents a diagnostic message from a generation run, such as a validation error or warning.
public RunnerDiagnostic(string Message, bool IsError)
Parameters
MessagestringThe diagnostic message text.
IsErrorboolWhether this diagnostic represents an error (true) or a warning (false).
Properties
IsError
Whether this diagnostic represents an error (true) or a warning (false).
public bool IsError { get; init; }
Property Value
Message
The diagnostic message text.
public string Message { get; init; }