@eighty4/changelog
Version:
Changelog utilities for CICD
17 lines (16 loc) • 424 B
JavaScript
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;
}
}