docs: refine changelog entry
[poolifier.git] / src / pools / abstract-pool.ts
index 7be2cef51c8f11646b5f43174de7abe3ea43a82c..779d2b59017c4493d3e4dba12f71ae347f6b1ba6 100644 (file)
@@ -860,7 +860,7 @@ export abstract class AbstractPool<
   public async removeTaskFunction (name: string): Promise<boolean> {
     if (!this.taskFunctions.has(name)) {
       throw new Error(
-        'Cannot remove a task function that does not exist on the pool side'
+        'Cannot remove a task function not handled on the pool side'
       )
     }
     this.taskFunctions.delete(name)