PHP Interface AppserverIo\Appserver\ServletEngine\Utils\ErrorInterface

Afficher le fichier Open project: appserver-io/appserver Interface Usage Examples

Méthodes publiques

Méthode Description
getFile ( ) : integer Return's the name of the file where the error has been triggered.
getLine ( ) : integer Return's the line in the file where the error has been triggered.
getMessage ( ) : integer Return's the error message.
getStatusCode ( ) : integer Return's the HTTP status code that has to be send back with the response.
getType ( ) : integer Return's the error type.

Method Details

getFile() public méthode

Return's the name of the file where the error has been triggered.
public getFile ( ) : integer
Résultat integer The filename

getLine() public méthode

Return's the line in the file where the error has been triggered.
public getLine ( ) : integer
Résultat integer The line number

getMessage() public méthode

Return's the error message.
public getMessage ( ) : integer
Résultat integer The error message

getStatusCode() public méthode

Return's the HTTP status code that has to be send back with the response.
public getStatusCode ( ) : integer
Résultat integer The HTTP status code

getType() public méthode

Return's the error type.
public getType ( ) : integer
Résultat integer The error type