PHP 클래스 Essence\Http\Exception

상속: extends Exception
파일 보기 프로젝트 열기: benjamminf/craft-embedded-assets 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_messages array Thanks to Hinnerk Brügmann (http://www.multiasking.com/2011/05/http-error-codes-as-php-array/).
$_url string Error URL.

공개 메소드들

메소드 설명
__construct ( string $url, integer $code, Exception $Previous = null ) Constructs the exception with the given HTTP status code, and the URL that triggered the error.
url ( ) : string Returns the URL that triggered the error.

메소드 상세

__construct() 공개 메소드

Constructs the exception with the given HTTP status code, and the URL that triggered the error.
public __construct ( string $url, integer $code, Exception $Previous = null )
$url string URL.
$code integer HTTP status code.
$Previous Exception Previous exception.

url() 공개 메소드

Returns the URL that triggered the error.
public url ( ) : string
리턴 string URL.

프로퍼티 상세

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

Thanks to Hinnerk Brügmann (http://www.multiasking.com/2011/05/http-error-codes-as-php-array/).
protected array $_messages
리턴 array

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

Error URL.
protected string $_url
리턴 string