Random\RandomException クラス

(PHP 8 >= 8.2.0)

はじめに

ランダムな値を使ったり生成したりする際に発生する、Exception の基底クラスです。

クラス概要

classRandom\RandomExceptionextendsException {
protectedstring$message = "";
privatestring$string = "";
protectedint$code;
protectedstring$file = "";
protectedint$line;
privatearray$trace = [];
private?Throwable$previous = null;
publicException::__construct(string$message = "", int$code = 0, ?Throwable$previous = null)
finalpublicException::getCode(): int
finalpublicException::getLine(): int
}
To Top