UNPKG

@uneiotech/elisa_whatsapp

Version:

Elisa WhatsApp is a library to stable a communication between channels and server.

12 lines (11 loc) 329 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.throwError = void 0; exports.throwError = (config) => { if (config === null) { throw new Error(`Your config cannot be empty`); } if (config.apiKey === null) { throw new Error(`Your apiKey cannot be empty`); } };