class SSTemplateParseException extends Exception

This is the exception raised when failing to parse a template. Note that we don't currently do any static analysis, so we can't know if the template will run, just if it's malformed. It also won't catch mistakes that still look valid.

Methods

__construct(string $message, SSTemplateParser $parser)

SSTemplateParseException constructor.

Details

at line 20
__construct(string $message, SSTemplateParser $parser)

SSTemplateParseException constructor.

Parameters

string $message
SSTemplateParser $parser