UNPKG

@searcly/sdk

Version:
13 lines (12 loc) 369 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SearclyError = void 0; class SearclyError extends Error { constructor(message, statusCode, response) { super(message); this.statusCode = statusCode; this.response = response; this.name = 'SearclyError'; } } exports.SearclyError = SearclyError;