Amp\Parallel\Worker\TaskError classTaskError extendsError

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 functiongetName():string

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

getWorkerTrace —public functiongetWorkerTrace():string

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

__wakeup —public function__wakeup()
No documentation.
getMessage —publicfinal functiongetMessage()
No documentation.
getCode —publicfinal functiongetCode()
No documentation.
getFile —publicfinal functiongetFile()
No documentation.
getLine —publicfinal functiongetLine()
No documentation.
getTrace —publicfinal functiongetTrace()
No documentation.
getPrevious —publicfinal functiongetPrevious()
No documentation.
getTraceAsString —publicfinal functiongetTraceAsString()
No documentation.
__toString —public function__toString()
No documentation.