test: enchance worker node key choice tests
[poolifier.git] / src / pools / selection-strategies / worker-choice-strategy-context.ts
index 124addd64f113cf5e4ffe7dac66b902ff86faedf..5d26f82ba4f5784873c18eb037beed9b26a5e2f5 100644 (file)
@@ -131,7 +131,7 @@ export class WorkerChoiceStrategyContext<
    * Executes the worker choice strategy algorithm in the context.
    *
    * @returns The key of the worker node.
-   * @throws {@link Error} If the worker node key is null or undefined.
+   * @throws {@link https://nodejs.org/api/errors.html#class-error} If the worker node key is null or undefined.
    */
   public execute (): number {
     const workerNodeKey = (