"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RequestSecurityError = void 0;
class RequestSecurityError extends Error {
    constructor(message) {
        super(message);
        this.isRequestSecurityError = true;
    }
    static isInstance(error) {
        return (error?.isRequestSecurityError ||
            error.cause?.isRequestSecurityError ||
            false);
    }
}
exports.RequestSecurityError = RequestSecurityError;
