Home
My Account
About us
Products
Support Services
Buy online
Downloads
Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
PHP Manual
Predefined Exceptions
Exception
ErrorException
ClosedGeneratorException
Error
ArgumentCountError
ArithmeticError
AssertionError
DivisionByZeroError
CompileError
ParseError
TypeError
ValueError
UnhandledMatchError
FiberError
RequestParseBodyException
UnhandledMatchError
FiberError::__construct
Predefined Exceptions
Last updated: Mon, 26 Oct 2026
FiberError
(PHP 8 >= 8.1.0)
Introduction
FiberError
is thrown when an invalid operation is performed on a
Fiber
.
Class synopsis
final
class
FiberError
extends
Error
{
/* Inherited properties */
protected
string
$
message
= ""
;
private
string
$
string
= ""
;
protected
int
$
code
;
protected
string
$
file
= ""
;
protected
int
$
line
;
private
array
$
trace
= []
;
private
?
Throwable
$
previous
= null
;
/* Methods */
public
function
__construct
()
/* Inherited methods */
final
public
function
Error::getMessage
():
string
final
public
function
Error::getPrevious
():
?
Throwable
final
public
function
Error::getCode
():
int
final
public
function
Error::getFile
():
string
final
public
function
Error::getLine
():
int
final
public
function
Error::getTrace
():
array
final
public
function
Error::getTraceAsString
():
string
public
function
Error::__toString
():
string
private
function
Error::__clone
():
void
}
Table of Contents
FiberError::__construct
— Constructor to disallow direct instantiation
UnhandledMatchError
FiberError::__construct
Predefined Exceptions
Last updated: Mon, 26 Oct 2026