FormatException
extends LogicException
in package
implements
ExceptionInterface
FinalYes
Thrown when a file has a syntax error.
Tags
Table of Contents
Interfaces
- ExceptionInterface
- Interface for exceptions.
Properties
Methods
- __construct() : mixed
- getContext() : FormatExceptionContext
Properties
$context
private
FormatExceptionContext
$context
Methods
__construct()
public
__construct(string $message, FormatExceptionContext $context[, int $code = 0 ][, Throwable|null $previous = null ]) : mixed
Parameters
- $message : string
- $context : FormatExceptionContext
- $code : int = 0
- $previous : Throwable|null = null
getContext()
public
getContext() : FormatExceptionContext