Class RuleConfigReaderError
public class RuleConfigReaderError
- Inheritance
-
RuleConfigReaderError
- Inherited Members
Constructors
RuleConfigReaderError(string)
public RuleConfigReaderError(string message)
Parameters
messagestring
RuleConfigReaderError(string, int?, int?, string?)
Creates an error carrying the YAML position, also appended to Message.
public RuleConfigReaderError(string message, int? line, int? column = null, string? path = null)
Parameters
Properties
Column
The 1-based column where the error occurred, when known.
public int? Column { get; }
Property Value
- int?
Line
The 1-based line where the error occurred, when known.
public int? Line { get; }
Property Value
- int?
Message
public string Message { get; }
Property Value
Path
Best-effort location within the document (e.g. rules[1]), when known.
public string? Path { get; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.