ErrorException::__construct

(PHP 5 >= 5.1.0, PHP 7, PHP 8)

ErrorException::__constructİstisna oluşturur

Açıklama

public ErrorException::__construct ( string $message = "" , int $code = 0 , int $severity = E_ERROR , string $filename = __FILE__ , int $lineno = __LINE__ , Exception $previous = null )

İstisna oluşturur.

Değiştirgeler

message

Oluşturulan istisna iletisi.

code

İstisnanın numarası.

severity

İstisnanın önem derecesi.

Bilginize:

Önem derecesi bir herhangi bir int değer olabilirse de, burada hata sabitlerinin kullanılması amaçlanmıştır.

filename

İstisnanın oluştuğu dosyanın adı.

lineno

İstisnanın oluştuğu satırın numarası.

previous

İstisna zincirleme için kullanılan önceki istisna.