class Core (View source)

Properties

bool $strict Whether errors should throw exceptions or just be stored.
Exception[] $errors List of errors that occurred during lexing.

Methods

error(Exception $error)

Creates a new error log.

Details

error(Exception $error)

Creates a new error log.

Parameters

Exception $error the error exception

Exceptions

Exception throws the exception, if strict mode is enabled.