Add eslint-plugin-jsdoc (#142)
[poolifier.git] / src / worker / abstract-worker.ts
index fd163547a78eb08c7ca0c0a93519374530ed5c8f..779088c56429780631385f78842dd6b8f01d336b 100644 (file)
@@ -86,6 +86,7 @@ export abstract class AbstractWorker<
    * Handle an error and convert it to a string so it can be sent back to the main worker.
    *
    * @param e The error raised by the worker.
+   * @returns Message of the error.
    */
   protected handleError (e: Error | string): string {
     return (e as unknown) as string