UNPKG

@softvision/webpdf-wsclient-typescript

Version:

A simplified and optimized API client library for the webPDF server

29 lines 822 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ResultException = void 0; class ResultException extends Error { constructor(wsClientError, errorCode, errorMessage, stackTraceMessage, cause) { super(errorMessage); this.wsclientError = wsClientError; this._errorCode = errorCode; this._stackTraceMessage = stackTraceMessage; this._cause = cause; } getClientError() { return this.wsclientError; } getErrorCode() { return this._errorCode; } getMessage() { return this.message; } getStackTraceMessage() { return this._stackTraceMessage; } getCause() { return this._cause; } } exports.ResultException = ResultException; //# sourceMappingURL=ResultException.js.map