UNPKG

@translated/lara

Version:

Official Lara SDK for JavaScript and Node.js

20 lines (19 loc) 602 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LaraApiError = exports.TimeoutError = exports.LaraError = void 0; class LaraError extends Error { } exports.LaraError = LaraError; class TimeoutError extends LaraError { } exports.TimeoutError = TimeoutError; class LaraApiError extends LaraError { constructor(statusCode, type, message, idTransaction) { super(message); this.statusCode = statusCode; this.type = type; this.message = message; this.idTransaction = idTransaction; } } exports.LaraApiError = LaraApiError;