PHP Class Phprest\Exception\Exception

Inheritance: extends Exception
Mostrar archivo Open project: phprest/phprest Class Usage Examples

Public Methods

Method Description
__construct ( string $message = '', integer $code, integer $statusCode = 500, array $details = [], Exception $previous = null )
getDetails ( ) : array
getStatusCode ( ) : integer

Method Details

__construct() public method

public __construct ( string $message = '', integer $code, integer $statusCode = 500, array $details = [], Exception $previous = null )
$message string
$code integer
$statusCode integer
$details array
$previous Exception

getDetails() public method

public getDetails ( ) : array
return array

getStatusCode() public method

public getStatusCode ( ) : integer
return integer