docs: refine code documentation
[poolifier.git] / src / worker / abstract-worker.ts
index 25be4820a0e8c59faa8917e0a809633c0d97de83..2a027269f990375f2a1556372a463e5b9f726655 100644 (file)
@@ -202,7 +202,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