CakeFest 2024: The Official CakePHP Conference

Error::__construct

(PHP 7, PHP 8)

Error::__constructエラーオブジェクトを生成する

説明

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

エラーを生成する。

パラメータ

message

エラーメッセージ。

code

エラーコード。

previous

例外チェーンに使われる、直前のスロー可能オブジェクト。

注意

注意:

message はバイナリセーフでは ありません

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top