nest-simple-config
Version:
A powerful and flexible configuration management library for NestJS applications. Supports JSON, YAML file loading, environment variable overrides, immutable configurations, and type-safe configuration access with dependency injection.
12 lines (11 loc) • 440 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ConfigValidateException = void 0;
class ConfigValidateException extends Error {
constructor(message, providerMessages = []) {
const msg = `${message}\nerror providers:\n\t${providerMessages.join('\n\t')}`;
super(msg);
this.providerMessages = providerMessages;
}
}
exports.ConfigValidateException = ConfigValidateException;