UNPKG

@wiqotech/nestjs-digiflazz

Version:
12 lines (11 loc) 390 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DigiflazzError = void 0; class DigiflazzError extends Error { constructor(message = 'Digiflazz Error', details) { super(`${message} \n ${JSON.stringify(details, null, 2)}`); this.name = 'DigiflazzError'; this.details = details; } } exports.DigiflazzError = DigiflazzError;