Home > @rushstack/node-core-library > FileError > getProblemMatcher
FileError.getProblemMatcher() method
Get the problem matcher pattern for parsing error messages.
Signature:
static getProblemMatcher(options?: Pick<IFileErrorFormattingOptions, 'format'>): IProblemPattern;
Parameters
Parameter | Type | Description |
|---|---|---|
options | Pick<IFileErrorFormattingOptions, 'format'> | (Optional) Options for the error message format. |
Returns:
The problem matcher pattern.