Amp\Parallel\Sync\PanicError class PanicError extends Error

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

Returns the class name of the uncaught exception.

getPanicTrace — public function getPanicTrace(): string

Gets the stack trace at the point the panic occurred.

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