Home > @rushstack/problem-matcher > IProblem
IProblem interface
Represents a problem (generally an error or warning) detected in the console output.
Signature:
export interface IProblem
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
| string | (Optional) Parsed error or warning code from the problem matcher | |
| number | (Optional) Parsed column number from the problem matcher | |
| number | (Optional) Parsed ending column number from the problem matcher | |
| number | (Optional) Parsed ending line number from the problem matcher | |
| string | (Optional) Parsed file path from the problem matcher | |
| number | (Optional) Parsed line number from the problem matcher | |
| string | The name of the matcher that detected the problem. | |
| string | Parsed message from the problem matcher | |
| (Optional) Parsed severity level from the problem matcher |