UNPKG

@ingestkorea/client-sens

Version:

INGESTKOREA SDK Naver Cloud Platform SENS Client for Node.js.

15 lines (14 loc) 416 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SensError = void 0; class SensError extends Error { constructor(info) { super(info.message); this.name = "SensError"; this.code = info.code; this.type = info.type; this.errors = info.errors || []; this.timestamp = new Date().toISOString(); } } exports.SensError = SensError;