@cto.ai/ops
Version:
💻 CTO.ai Ops - The CLI built for Teams 🚀
17 lines (16 loc) • 583 B
JavaScript
;
/**
* @author: JP Lew (jp@cto.ai)
* @date: Monday, 29th April 2019 5:55:21 pm
* @lastModifiedBy: Prachi Singh (prachi@hackcapital.com)
* @lastModifiedTime: Friday, 3rd May 2019 4:57:23 pm
* @copyright (c) 2019 CTO.ai
*/
Object.defineProperty(exports, "__esModule", { value: true });
const CustomErrors_1 = require("../errors/CustomErrors");
exports.handleUndefined = (undefinedParam) => {
throw new CustomErrors_1.UndefinedParameter(undefinedParam);
};
exports.handleMandatory = (paramName) => {
throw new CustomErrors_1.MandatoryParameter(paramName);
};