UNPKG

xsolla

Version:

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

25 lines (24 loc) 788 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const XsollaException_1 = __importDefault(require("./XsollaException")); class InvalidSignatureException extends XsollaException_1.default { constructor() { super(...arguments); /** * Xsolla Exception Code. */ this.name = 'INVALID_SIGNATURE'; /** * Error message. */ this.message = 'Invalid signature.'; /** * HTTP response code for this exception. */ this.httpResponseCode = 403; } } exports.default = InvalidSignatureException;