UNPKG

ycp-sdk-ts

Version:

Unofficial YouCan Pay NodeJS SDK built using Typescript

15 lines (14 loc) 394 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ApiHttpException = void 0; /** * Exception thrown when encountering an HTTP error with the API */ class ApiHttpException extends Error { constructor(statusCode, body) { super(); this.statusCode = statusCode; this.body = body; } } exports.ApiHttpException = ApiHttpException;