« Random\Engine\Xoshiro256StarStar::__unserialize
Random\BrokenRandomEngineError »
PHP Manual
Random
Random\RandomError クラス
検索
Random\RandomError クラス
(PHP 8 >= 8.2.0)
はじめに
ランダムな値を使ったり生成したりする際に発生する、
Error
の基底クラスです。
クラス概要
namespace
Random
;
class
RandomError
extends
Error
{
/* 継承したプロパティ */
protected
string
$
message
= ""
;
private
string
$
string
= ""
;
protected
int
$
code
;
protected
string
$
file
= ""
;
protected
int
$
line
;
private
array
$
trace
= []
;
private
?
Throwable
$
previous
= null
;
/* 継承したメソッド */
public
function
Error::__construct
(
string
$message
= ""
,
int
$code
= 0
,
?
Throwable
$previous
=
null
)
final
public
function
Error::getMessage
():
string
final
public
function
Error::getPrevious
():
?
Throwable
final
public
function
Error::getCode
():
int
final
public
function
Error::getFile
():
string
final
public
function
Error::getLine
():
int
final
public
function
Error::getTrace
():
array
final
public
function
Error::getTraceAsString
():
string
public
function
Error::__toString
():
string
private
function
Error::__clone
():
void
}
関連キーワード:
Random
final
RandomError
protected
private
Throwable
継承
message
code
previous
Engine
Xoshiro
StarStar
unserialize
BrokenRandomEngineError
ランダム
基底
概要
namespace
extends
プロパティ
line
trace
construct
getMessage
関連する関数・ページ:
class.random-brokenrandomengineerror
class.random-randomexception
class.ffi-exception
class.ffi-parserexception
class.valueerror
class.uri-urierror