1 | import { ParserErrors as IParserErrors, ParserErrorType } from './types';
|
2 | export declare class ParserErrors implements IParserErrors {
|
3 | private _errors;
|
4 | readonly commandErrors: string[];
|
5 | readonly argumentErrors: string[];
|
6 | readonly optionErrors: string[];
|
7 | readonly allErrors: string[];
|
8 | getErrors: (type?: ParserErrorType) => string[];
|
9 | clearErrors: (type?: ParserErrorType) => void;
|
10 | push: (type: ParserErrorType, message: string) => void;
|
11 | readonly hasErrors: boolean;
|
12 | readonly hasNonArgOrOptionErrors: boolean;
|
13 | }
|