UNPKG

649 BTypeScriptView Raw
1import { GitError } from './git-error';
2import { SimpleGitOptions } from '../types';
3/**
4 * The `GitConstructError` is thrown when an error occurs in the constructor
5 * of the `simple-git` instance itself. Most commonly as a result of using
6 * a `baseDir` option that points to a folder that either does not exist,
7 * or cannot be read by the user the node script is running as.
8 *
9 * Check the `.message` property for more detail including the properties
10 * passed to the constructor.
11 */
12export declare class GitConstructError extends GitError {
13 readonly config: SimpleGitOptions;
14 constructor(config: SimpleGitOptions, message: string);
15}