PHP Class Marcelgwerder\ApiHandler\ApiHandlerException

Inheritance: extends Exception
Afficher le fichier Open project: marcelgwerder/laravel-api-handler

Protected Properties

Свойство Type Description
$httpCode integer Http status code

Méthodes publiques

Méthode Description
__construct ( string $code, array $replace = [], string $message = null ) Create a new instance of ApiHandlerException
getHttpCode ( ) : integer | string Get the http code of the exception

Method Details

__construct() public méthode

Create a new instance of ApiHandlerException
public __construct ( string $code, array $replace = [], string $message = null )
$code string
$replace array
$message string

getHttpCode() public méthode

Get the http code of the exception
public getHttpCode ( ) : integer | string
Résultat integer | string

Property Details

$httpCode protected_oe property

Http status code
protected int $httpCode
Résultat integer