gitset
Version:
Enhanced git init with user configuration management
23 lines • 814 B
JavaScript
export var ErrorType;
(function (ErrorType) {
ErrorType["VALIDATION_ERROR"] = "VALIDATION_ERROR";
ErrorType["GIT_NOT_FOUND"] = "GIT_NOT_FOUND";
ErrorType["PERMISSION_DENIED"] = "PERMISSION_DENIED";
ErrorType["DIRECTORY_ERROR"] = "DIRECTORY_ERROR";
ErrorType["INSTALLATION_FAILED"] = "INSTALLATION_FAILED";
ErrorType["CONFIG_ERROR"] = "CONFIG_ERROR";
ErrorType["NETWORK_ERROR"] = "NETWORK_ERROR";
})(ErrorType || (ErrorType = {}));
export class GitStartError extends Error {
type;
recoverable;
suggestion;
constructor(type, message, recoverable = true, suggestion) {
super(message);
this.type = type;
this.recoverable = recoverable;
this.suggestion = suggestion;
this.name = 'GitStartError';
}
}
//# sourceMappingURL=cli.js.map