pr-desc-cli
Version:
AI-powered PR description generator
14 lines (13 loc) • 338 B
JavaScript
// Errors
export class GhError extends Error {
constructor(message) {
super(message);
this.name = "GhError";
}
}
export class GhNeedsPushError extends GhError {
constructor() {
super("You must push the current branch to a remote before creating a PR.");
this.name = "GhNeedsPushError";
}
}