screenshotone-api-sdk
Version:
Use ScreenshotOne.com API to generate screenshots of any website.
13 lines (12 loc) • 428 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
class APIError extends Error {
constructor(message, httpStatusCode, errorCode, errorMessage, documentationUrl) {
super(message);
this.httpStatusCode = httpStatusCode;
this.errorCode = errorCode;
this.errorMessage = errorMessage;
this.documentationUrl = documentationUrl;
}
}
exports.default = APIError;