semantic-release-hackage
Version:
A semantic-release plugin to publish Haskell packages to Hackage
10 lines (8 loc) • 319 B
text/typescript
const configMessage = "Check the README.md for config info.";
export class EnvVarError extends Error {
public constructor(variable: string) {
super(`Environment variable not found: ${variable}. ${configMessage}`);
this.name = this.constructor.name;
Error.captureStackTrace(this, this.constructor);
}
}