UNPKG

xsolla

Version:

A Node.js client for working with the Xsolla Merchant API

15 lines (14 loc) 368 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class XsollaException extends Error { /** * Response to be given to an incoming Xsolla Webhook request. */ jsonResponse() { return { code: this.name, message: this.message, }; } } exports.default = XsollaException;