UNPKG

pr-desc-cli

Version:
14 lines (13 loc) 338 B
// 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"; } }