com\setasign\SetaSite

HttpErrorException Class HttpErrorException

File: /SetaSite/src/HttpErrorException.php

Class hierarchy

Implements

Summary

Constants

DEFAULT_MESSAGE_GONE

public const HttpErrorException::DEFAULT_MESSAGE_GONE = '<h1>Gone</h1> <p>The requested resource is deleted.</p>'

DEFAULT_MESSAGE_INTERNAL_SERVER_ERROR

public const HttpErrorException::DEFAULT_MESSAGE_INTERNAL_SERVER_ERROR = '<h1>Internal Server Error</h1> <p>The server encountered an internal error or misconfiguration and was unable to complete your request.</p>'

DEFAULT_MESSAGE_LANGUAGE_NOT_FOUND

public const HttpErrorException::DEFAULT_MESSAGE_LANGUAGE_NOT_FOUND = '<h1>Not Found / Unknown Language</h1> <p>The requested URL was not found on this server.</p>'

DEFAULT_MESSAGE_NOT_FOUND

public const HttpErrorException::DEFAULT_MESSAGE_NOT_FOUND = '<h1>Not Found</h1> <p>The requested URL was not found on this server.</p>'

STATUS_CODE_FORBIDDEN

STATUS_CODE_GONE

STATUS_CODE_INTERNAL_SERVER_ERROR

STATUS_CODE_NOT_FOUND

STATUS_CODE_UNAUTHORIZED


Properties

$code

protected \Exception::$code = 0

$file

protected \Exception::$file = ''

$line

protected \Exception::$line = 0

$log

private bool HttpErrorException::$log

$message

protected \Exception::$message = ''

Methods

__construct()

public HttpErrorException::__construct (
string $message = '',
int $code = 0,
?\Throwable $previous = null,
bool $log = true
)

HttpErrorException constructor.

Parameters
$message : string
 
$code : int
 
$previous : ?\Throwable
 
$log : bool
 

__clone()

Internal PHP method: Exception::__clone

__toString()

Internal PHP method: Exception::__toString

__wakeup()

Internal PHP method: Exception::__wakeup

getCode()

Internal PHP method: Exception::getCode

getFile()

Internal PHP method: Exception::getFile

getLine()

Internal PHP method: Exception::getLine

getLogFlag()

public HttpErrorException::getLogFlag (
void
): bool

getMessage()

Internal PHP method: Exception::getMessage

getPrevious()

Internal PHP method: Exception::getPrevious

getStatusMessage()

public HttpErrorException::getStatusMessage (
void
): string

getTrace()

Internal PHP method: Exception::getTrace

getTraceAsString()

Internal PHP method: Exception::getTraceAsString