anyig
Version:
A powerful and extensible tool for generating ignore files for various development tools and environments
18 lines • 703 B
TypeScript
export declare class AnyIGError extends Error {
code?: string | undefined;
constructor(message: string, code?: string | undefined);
}
export declare class TemplateNotFoundError extends AnyIGError {
constructor(templateName: string);
}
export declare class FileOperationError extends AnyIGError {
constructor(operation: string, filePath: string, originalError?: Error);
}
export declare class ConfigurationError extends AnyIGError {
constructor(message: string);
}
export declare class ValidationError extends AnyIGError {
constructor(field: string, value: any, expectedType: string);
}
export declare function handleError(error: Error): void;
//# sourceMappingURL=errors.d.ts.map