docs: add changelog entry
[poolifier.git] / src / worker / abstract-worker.ts
index 0646a9bfa0e423bd466ccc16efeba8b4782067c7..6e17c9ed92f53a3612d214f782d38019875ed46c 100644 (file)
@@ -206,7 +206,7 @@ export abstract class AbstractWorker<
    * Handles 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.
+   * @returns The error message.
    */
   protected handleError (e: Error | string): string {
     return e as string