PHP 클래스 yii\base\ErrorException

For more details and usage information on ErrorException, see the guide article on handling errors.
부터: 2.0
저자: Alexander Makarov ([email protected])
상속: extends ErrorException
파일 보기 프로젝트 열기: yiisoft/yii2 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( $message = '', $code, $severity = 1, $filename = __FILE__, $lineno = __LINE__, Exception $previous = null ) Constructs the exception.
getName ( ) : string
isFatalError ( array $error ) : boolean Returns if error is one of fatal type.

메소드 상세

__construct() 공개 메소드

Constructs the exception.
public __construct ( $message = '', $code, $severity = 1, $filename = __FILE__, $lineno = __LINE__, Exception $previous = null )
$message [optional]
$code [optional]
$severity [optional]
$filename [optional]
$lineno [optional]
$previous Exception [optional]

getName() 공개 메소드

public getName ( ) : string
리턴 string the user-friendly name of this exception

isFatalError() 공개 정적인 메소드

Returns if error is one of fatal type.
public static isFatalError ( array $error ) : boolean
$error array error got from error_get_last()
리턴 boolean if error is one of fatal type