The error thrown when an error is thrown in the executor passed to Task.constructor. This error class exists so it is clear exactly what went wrong in that case.
Task.constructor
Optional
Static
Optional override for formatting stack traces
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Create .stack property on a target object
The error thrown when an error is thrown in the executor passed to
Task.constructor
. This error class exists so it is clear exactly what went wrong in that case.