Файловый менеджер - Редактировать - /home/kckglobal/public_html/portal/vendor/amphp/parallel/lib/Sync/PanicError.php
Назад
<?php namespace Amp\Parallel\Sync; /** * @deprecated ContextPanicError will be thrown from uncaught exceptions in child processes and threads instead of * this class. */ class PanicError extends \Error { /** @var string Class name of uncaught exception. */ private $name; /** @var string Stack trace of the panic. */ private $trace; /** * Creates a new panic error. * * @param string $name The uncaught exception class. * @param string $message The panic message. * @param string $trace The panic stack trace. * @param \Throwable|null $previous Previous exception. */ public function __construct(string $name, string $message = '', string $trace = '', ?\Throwable $previous = null) { parent::__construct($message, 0, $previous); $this->name = $name; $this->trace = $trace; } /** * @deprecated Use ContextPanicError::getOriginalClassName() instead. * * Returns the class name of the uncaught exception. * * @return string */ public function getName(): string { return $this->name; } /** * @deprecated Use ContextPanicError::getOriginalTraceAsString() instead. * * Gets the stack trace at the point the panic occurred. * * @return string */ public function getPanicTrace(): string { return $this->trace; } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.28 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка