PHP Interface AppserverIo\Appserver\ServletEngine\Utils\ErrorInterface

Show file Open project: appserver-io/appserver Interface Usage Examples

Public Methods

Method 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 method

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

getLine() public method

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

getMessage() public method

Return's the error message.
public getMessage ( ) : integer
return integer The error message

getStatusCode() public method

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

getType() public method

Return's the error type.
public getType ( ) : integer
return integer The error type