DoDomuDojade Documentation

TwigException extends InfrastructureException
in package

FinalYes

Table of Contents

Properties

$errorCode  : string
$httpStatusCode  : int

Methods

__construct()  : mixed
initializationFailed()  : self
invalidViewsPath()  : self
renderingFailed()  : self
templateNotFound()  : self

Properties

Methods

__construct()

public __construct(string $message[, string $errorCode = "INFRASTRUCTURE_ERROR" ][, int $httpStatusCode = 500 ][, Throwable|null $previous = null ]) : mixed
Parameters
$message : string
$errorCode : string = "INFRASTRUCTURE_ERROR"
$httpStatusCode : int = 500
$previous : Throwable|null = null

initializationFailed()

public static initializationFailed(string $viewsPath, Throwable $previous) : self
Parameters
$viewsPath : string
$previous : Throwable
Return values
self

invalidViewsPath()

public static invalidViewsPath(string $viewsPath) : self
Parameters
$viewsPath : string
Return values
self

renderingFailed()

public static renderingFailed(string $template, Throwable $previous) : self
Parameters
$template : string
$previous : Throwable
Return values
self

templateNotFound()

public static templateNotFound(string $template) : self
Parameters
$template : string
Return values
self

        
On this page

Search results