SmartyTemplateError
Less than 1 minute
SmartyTemplateError
Exception thrown for errors encountered during Smarty template rendering.
class SmartyTemplateError extends \Hazaar\Template\Exception\ExceptionRepresents an error that occurs when rendering a Smarty template, optionally including the source file and previous exception details.
Methods
__construct
Constructs a new SmartyTemplateError exception.
public __construct(?\Throwable $previous, ?string $sourceFile): voidParameters
| Parameter | Type | Description |
|---|---|---|
$previous | \Throwable | the previous exception that caused this error, if any |
$sourceFile | string | the source file being rendered when the error occurred, if available |
Generated by Hazaar API Doc Generator on Tue, 21 Apr 2026 04:00:24 +0000