UNPKG

@eighty4/changelog

Version:
17 lines (16 loc) 424 B
export class BadChangelogError extends Error { changelogFile; errors; constructor(changelogFile, errors) { super(changelogFile + ' is not valid'); this.name = this.constructor.name; this.changelogFile = changelogFile; this.errors = errors; } } export class CliError extends Error { constructor(msg) { super(msg); this.name = this.constructor.name; } }