Merge dependabot/npm_and_yarn/examples/typescript/http-server-pool/fastify-worker_thr...
[poolifier.git] / src / worker / thread-worker.ts
index 8d30ef21a8874dcfb6802e2436a7d6033a4fa8ec..d6a3699220b63fad5dc3191c1b4c1ca72d112bc8 100644 (file)
@@ -93,7 +93,7 @@ export class ThreadWorker<
   }
 
   /** @inheritDoc */
-  protected handleError (e: Error | string): string {
-    return e as string
+  protected handleError (error: Error | string): string {
+    return error as string
   }
 }