Documentation

ErrorHandler
in package

Manage http/https responses

Table of Contents

Properties

$errorHandlerDir  : string
Folder direction of error pages

Methods

__construct()  : void
Create a response on client and server side

Properties

$errorHandlerDir

Folder direction of error pages

private string $errorHandlerDir = __DIR__ . "/ErrorHandler/"

Methods

__construct()

Create a response on client and server side

public __construct(int $errorCode, string $fileErrorInclusion, mixed $logPath) : void
Parameters
$errorCode : int

code to give as http response

$fileErrorInclusion : string

path of the error file on the folder defined by $accessHandlerDir

$logPath : mixed

        
On this page

Search results