/**
 * Passed to parent components in certain callbacks with the lower-level JS-SDK emits an error
 */
class SDKError extends Error {
    constructor(message, statusCode, response) {
        super(message || 'SDK Error');
        this.response = response;
        this.statusCode = statusCode;
        Object.setPrototypeOf(this, new.target.prototype);
    }
}

export { SDKError as S };
//# sourceMappingURL=p-C1sRVZWv.js.map

//# sourceMappingURL=p-C1sRVZWv.js.map