The Random\RandomException class

(PHP 8 >= 8.2.0)

Introducción

The base class for Exceptions that occur during generation or use of randomness.

Sinopsis de la Clase

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