@t3ned/channel
Version:
Ergonomic, chaining-based Typescript framework for quick API development for Fastify
15 lines • 578 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.InvalidEnvVariableError = void 0;
const ChannelError_1 = require("./ChannelError");
class InvalidEnvVariableError extends ChannelError_1.ChannelError {
/**
* @param envVariable The name of the env variable
* @param type The type of env variable
*/
constructor(envVariable, type) {
super(`Invalid ${type} environment variable: ${envVariable}`);
}
}
exports.InvalidEnvVariableError = InvalidEnvVariableError;
//# sourceMappingURL=InvalidEnvVariableError.js.map