@har-sdk/core
Version:
The base package can be used to import specification files (i.e. HAR, OAS and Postman Collection) and detect their type.
9 lines (8 loc) • 468 B
TypeScript
import { BaseSyntaxErrorDetailsExtractor } from './BaseSyntaxErrorDetailsExtractor';
import { YAMLException } from 'js-yaml';
export declare class YamlSyntaxErrorDetailsExtractor extends BaseSyntaxErrorDetailsExtractor<YAMLException> {
private readonly LOCATION_PATTERN;
protected extractMessage(error: YAMLException): string;
protected extractOffset(error: YAMLException): number | undefined;
protected extractSnippet(error: YAMLException): string;
}