simple-git
Version:
Simple GIT interface for node.js
25 lines • 941 B
TypeScript
import { GitError } from './git-error';
declare const REASONS: {
readonly DISALLOWED_ABBREVIATED: {
readonly text: "disallowed abbreviated or ambiguous option";
readonly solution: "Unambiguous abbreviated options blocked with unsafe.allowAbbreviatedOptions setting: {message}";
};
readonly UNKNOWN: {
readonly text: "~ unknown ~";
readonly solution: undefined;
};
};
export type GitConfigurationErrorReason = keyof typeof REASONS;
/**
* The `GitConfigurationError` is thrown when the `git` process rejects
* the supplied configuration arguments or environment variables.
*
* Check the `.message` property for more detail on why your configuration
* resulted in an error.
*/
export declare class GitConfigurationError extends GitError {
readonly reason: GitConfigurationErrorReason;
constructor(message?: string);
}
export {};
//# sourceMappingURL=git-configuration-error.d.ts.map