import { LodestarError } from "@lodestar/utils";
export { GossipAction };
var GossipAction;
(function (GossipAction) {
    GossipAction["IGNORE"] = "IGNORE";
    GossipAction["REJECT"] = "REJECT";
})(GossipAction || (GossipAction = {}));
export { GossipErrorCode };
var GossipErrorCode;
(function (GossipErrorCode) {
    GossipErrorCode["INVALID_SERIALIZED_BYTES_ERROR_CODE"] = "GOSSIP_ERROR_INVALID_SERIALIZED_BYTES";
    GossipErrorCode["PAST_SLOT"] = "GOSSIP_ERROR_PAST_SLOT";
})(GossipErrorCode || (GossipErrorCode = {}));
export class GossipActionError extends LodestarError {
    action;
    constructor(action, type) {
        super(type);
        this.action = action;
    }
}
//# sourceMappingURL=gossipValidation.js.map