PHP 클래스 Marcelgwerder\ApiHandler\ApiHandlerException

상속: extends Exception
파일 보기 프로젝트 열기: marcelgwerder/laravel-api-handler

보호된 프로퍼티들

프로퍼티 타입 설명
$httpCode integer Http status code

공개 메소드들

메소드 설명
__construct ( string $code, array $replace = [], string $message = null ) Create a new instance of ApiHandlerException
getHttpCode ( ) : integer | string Get the http code of the exception

메소드 상세

__construct() 공개 메소드

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

getHttpCode() 공개 메소드

Get the http code of the exception
public getHttpCode ( ) : integer | string
리턴 integer | string

프로퍼티 상세

$httpCode 보호되어 있는 프로퍼티

Http status code
protected int $httpCode
리턴 integer