class SSTemplateParseException extends Exception (View source)

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

public
__construct(string $message, SSTemplateParser $parser)

SSTemplateParseException constructor.

Details

__construct(string $message, SSTemplateParser $parser)

SSTemplateParseException constructor.

Parameters

string $message
SSTemplateParser $parser