feat: remove unused HookChainInterruptedError class from RPCPlugin

This commit is contained in:
2025-11-27 21:31:49 +08:00
parent 24a14a8e1c
commit bc1445d3a5

View File

@@ -61,8 +61,6 @@ export abstract class AbstractRPCPlugin implements RPCPlugin {
type HookName = keyof RPCPluginHooksCtx;
export class HookChainInterruptedError extends Error { };
type HookRunner<Ctx> = (ctx: Ctx) => Promise<void>;
export function createHookRunner<K extends HookName>(
plugins: RPCPlugin[],