UNPKG

node-dall-ai-2

Version:

A type safe library for interacting with OpenAI's Dall-E 2 AI.

13 lines (12 loc) 405 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DalleError = void 0; class DalleError extends Error { constructor(message) { super(message); } send(data) { console.log(`************** ${this.message} ************** \n\n ${data} \n\n************** ${this.message} ************** \n\n`); } } exports.DalleError = DalleError;