TypeError
extends Error
Table of Contents
-
$errorIndex
: int
-
$errorMessage
: string
-
__construct()
: mixed
-
__toString()
: mixed
-
errorMessage()
: string
-
toString()
: string
$errorIndex
public
int
$errorIndex
$errorMessage
public
string
$errorMessage
__construct()
public
__construct(mixed $variable, string $requiredType, int $code) : mixed
Parameters
-
$variable
: mixed
-
-
$requiredType
: string
-
-
$code
: int
-
Return values
mixed
—
__toString()
public
__toString() : mixed
Return values
mixed
—
errorMessage()
public
errorMessage() : string
Return values
string
—
toString()
private
toString() : string
Return values
string
—