public function getException() { return new TaskException(sprintf('Uncaught exception in worker of type "%s" with message "%s"', $this->type, $this->message), $this->code, $this->trace); }