PHP Class Neos\Flow\Exception

Inheritance: extends Exception
Datei anzeigen Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Property Type Description
$referenceCode string
$statusCode integer

Public Methods

Method Description
getReferenceCode ( ) : string Returns a code which can be communicated publicly so that whoever experiences the exception can refer to it and a developer can find more information about it in the system log.
getStatusCode ( ) : integer Returns the HTTP status code this exception corresponds to (defaults to 500).

Method Details

getReferenceCode() public method

Returns a code which can be communicated publicly so that whoever experiences the exception can refer to it and a developer can find more information about it in the system log.
public getReferenceCode ( ) : string
return string

getStatusCode() public method

Returns the HTTP status code this exception corresponds to (defaults to 500).
public getStatusCode ( ) : integer
return integer

Property Details

$referenceCode protected_oe property

protected string $referenceCode
return string

$statusCode protected_oe property

protected int $statusCode
return integer