@willsoto/node-konfig-core
Version:
Core configuration pacakge supporting file, static and environment variables
16 lines • 389 B
JavaScript
export class KeyNotFoundError extends Error {
constructor(key) {
super(`Key not found: ${key}`);
}
}
export class NoValueForKeyError extends Error {
constructor(key) {
super(`No value found for key: ${key}`);
}
}
export class ValueNotFoundError extends Error {
constructor() {
super("Value not found");
}
}
//# sourceMappingURL=errors.js.map