phpday 2027 - Call for Papers

Error::__construct

(PHP 7, PHP 8)

Error::__construct — Erzeugt ein Error-Objekt

Beschreibung

public function Error::__construct(string $message = "", int $code = 0, ?Throwable $previous = null)

Erzeugt ein Error.

Parameter-Liste

message

Die Fehlermeldung.

code

Der Fehlercode.

previous

Das vorherige Throwable, für die Verkettung von Ausnahmen.

Anmerkungen

Hinweis:

Der Wert von message ist NICHT sicher im Umgang mit binären Werten.

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top