final class ErrorConfig (View source)

Carries the resolved templates used to render framework HTTP error pages.

Methods

__construct(string $notFoundView, string $internalServerErrorView)

Initializes an immutable error-template snapshot.

Details

__construct

__construct(string $notFoundView, string $internalServerErrorView)

Initializes an immutable error-template snapshot.

Parameters

string $notFoundView
string $internalServerErrorView