diff options
Diffstat (limited to 'node_modules/simple-git/src/lib/errors/git-construct-error.d.ts')
-rw-r--r-- | node_modules/simple-git/src/lib/errors/git-construct-error.d.ts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/node_modules/simple-git/src/lib/errors/git-construct-error.d.ts b/node_modules/simple-git/src/lib/errors/git-construct-error.d.ts new file mode 100644 index 0000000..6c6f067 --- /dev/null +++ b/node_modules/simple-git/src/lib/errors/git-construct-error.d.ts @@ -0,0 +1,15 @@ +import { GitError } from './git-error'; +import { SimpleGitOptions } from '../types'; +/** + * The `GitConstructError` is thrown when an error occurs in the constructor + * of the `simple-git` instance itself. Most commonly as a result of using + * a `baseDir` option that points to a folder that either does not exist, + * or cannot be read by the user the node script is running as. + * + * Check the `.message` property for more detail including the properties + * passed to the constructor. + */ +export declare class GitConstructError extends GitError { + readonly config: SimpleGitOptions; + constructor(config: SimpleGitOptions, message: string); +} |