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
- $context : mixed
Methods
- __construct() : mixed
- getContext() : FormatExceptionContext
Properties
$context
private
mixed
$context
Methods
__construct()
public
__construct(string $message, FormatExceptionContext $context[, int $code = 0 ][, Throwable $previous = null ]) : mixed
Parameters
- $message : string
- $context : FormatExceptionContext
- $code : int = 0
- $previous : Throwable = null
getContext()
public
getContext() : FormatExceptionContext