Amp\Parallel\Sync\PanicError classPanicError 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 ='')

Creates a new panic error.

Type Parameter Description Default Value
string $name The uncaught exception class. none
string $message The panic message. ''
string $trace The panic stack trace. ''
getName —public functiongetName():string

Returns the class name of the uncaught exception.

getPanicTrace —public functiongetPanicTrace():string

Gets the stack trace at the point the panic occurred.

__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.