Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Kraken
_Unit
Throwable
ErrorTest
createError
Kraken\_Unit\Throwable\ErrorTest::createError PHP Méthode
ErrorTest Class Documentation
Afficher le fichier
Open project: kraken-php/framework
createError()
public
méthode
public
createError
(
string
$message
,
null
$previous
= null ) :
Error
$message
string
$previous
null
Résultat
Kraken\Throwable\Error
public function createError($message, $previous = null) { return new Error($message, $previous); }
ErrorTest
assertStackString
assertStackTrace
assertString
assertThrowableString
assertThrowableTrace
assertTrace
createError
testApiConstructor_ChainsErrors
testApiConstructor_CreatesInstance
testApiDestructor_DoesNotThrowError
testApiToString_ReturnsErrorStack
testStaticApiToStackString_ReturnsStackTraceAsString
testStaticApiToStackTrace_ReturnsStackTrace
testStaticApiToString_ReturnsErrorStack
testStaticApiToThrowableString_ReturnsThrowableTraceAsString
testStaticApiToThrowableTrace_ReturnsStackThrowable
testStaticApiToTrace_ReturnsTrace