Amp\Parallel\Worker\TaskException class TaskException extends Exception

Summary

Properties

Methods

Properties

$message — protected $message = ''
No documentation.
$code — protected $code = 0
No documentation.
$file — protected $file = null
No documentation.
$line — protected $line = null
No documentation.

Methods

__construct — public function __construct(string $name, string $message = '', string $trace = '')
No documentation.
Type Parameter Description Default Value
string $name The exception class name. none
string $message The panic message. ''
string $trace The panic stack trace. ''
getName — public function getName(): string

Returns the class name of the exception thrown from the task.

getWorkerTrace — public function getWorkerTrace(): string

Gets the stack trace at the point the exception was thrown in the task.

__wakeup — public function __wakeup()
No documentation.
getMessage — public final function getMessage()
No documentation.
getCode — public final function getCode()
No documentation.
getFile — public final function getFile()
No documentation.
getLine — public final function getLine()
No documentation.
getTrace — public final function getTrace()
No documentation.
getPrevious — public final function getPrevious()
No documentation.
getTraceAsString — public final function getTraceAsString()
No documentation.
__toString — public function __toString()
No documentation.