« UnhandledMatchError
FiberError::__construct »
PHP Manual
Exceptions prédéfinies
FiberError
FiberError
(PHP 8 >= 8.1.0)
Introduction
FiberError
is thrown when an invalid operation is performed on a
Fiber
.
Synopsis de la classe
final
class
FiberError
extends
Error
{
/* Propriétés héritées */
protected
string
$
message
= ""
;
private
string
$
string
= ""
;
protected
int
$
code
;
protected
string
$
file
= ""
;
protected
int
$
line
;
private
array
$
trace
= []
;
private
?
Throwable
$
previous
= null
;
/* Méthodes */
public
__construct
()
/* Méthodes héritées */
final
public
Error::getMessage
():
string
final
public
Error::getPrevious
():
?
Throwable
final
public
Error::getCode
():
int
final
public
Error::getFile
():
string
final
public
Error::getLine
():
int
final
public
Error::getTrace
():
array
final
public
Error::getTraceAsString
():
string
public
Error::__toString
():
string
private
Error::__clone
():
void
}
Sommaire
FiberError::__construct
— Constructor to disallow direct instantiation