class Error

Displays Error

Methods

static string
display(Template $template, string $lang, string $dir, string $errorHeader, string $errorMessage)

No description

Details

at line 38
static string display(Template $template, string $lang, string $dir, string $errorHeader, string $errorMessage)

Parameters

Template $template Template object used to render the error
string $lang Lang of the HTML page
string $dir Direction of text of the HTML page
string $errorHeader Error header
string $errorMessage Error message

Return Value

string

Exceptions

Throwable
Twig_Error_Loader
Twig_Error_Runtime
Twig_Error_Syntax