import {LodestarError} from "@lodestar/utils"; export enum GossipAction { IGNORE = "IGNORE", REJECT = "REJECT", } export class GossipActionError extends LodestarError { action: GossipAction; constructor(action: GossipAction, type: T) { super(type); this.action = action; } }