PHP 클래스 Flugg\Responder\Exceptions\Http\ApiException

저자: Alexander Tømmerås ([email protected])
상속: extends Symfony\Component\HttpKernel\Exception\HttpException
파일 보기 프로젝트 열기: flugger/laravel-responder 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$errorCode string The error code.
$statusCode integer The HTTP status code.

공개 메소드들

메소드 설명
__construct ( mixed $message = null ) Create a new exception instance.
getData ( ) : array | null Get the error data.
getErrorCode ( ) : string Get the error code.
getStatusCode ( ) : integer Get the HTTP status code,

메소드 상세

__construct() 공개 메소드

Create a new exception instance.
public __construct ( mixed $message = null )
$message mixed

getData() 공개 메소드

Get the error data.
public getData ( ) : array | null
리턴 array | null

getErrorCode() 공개 메소드

Get the error code.
public getErrorCode ( ) : string
리턴 string

getStatusCode() 공개 메소드

Get the HTTP status code,
public getStatusCode ( ) : integer
리턴 integer

프로퍼티 상세

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

The error code.
protected string $errorCode
리턴 string

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

The HTTP status code.
protected int $statusCode
리턴 integer