PHP Interface Exceptions\Http\HttpExceptionInterface

Author: Mathieu Dumoulin aka CrazyCodr ([email protected])
Show file Open project: crazycodr/standard-exceptions

Public Methods

Method Description
getHttpCode ( ) : integer Returns the standard HTTP code associated with this exception.
getHttpCodeClass ( ) : integer Returns the standard HTTP code class associated with this exception.
getHttpMessage ( ) : string Returns the standard HTTP message associated with this exception.

Method Details

getHttpCode() public static method

Returns the standard HTTP code associated with this exception.
public static getHttpCode ( ) : integer
return integer

getHttpCodeClass() public static method

Returns the standard HTTP code class associated with this exception.
public static getHttpCodeClass ( ) : integer
return integer

getHttpMessage() public static method

Returns the standard HTTP message associated with this exception.
public static getHttpMessage ( ) : string
return string