Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Kraken
_Unit
Throwable
ThrowableTest
createException
Kraken\_Unit\Throwable\ThrowableTest::createException PHP Метод
Документация по классу ThrowableTest
Показать файл
Открыть проект
createException()
публичный
Метод
public
createException
(
string
$message
,
Error | Exception |
null
$prev
= null ) :
Exception
$message
string
$prev
Error | Exception |
null
Результат
Kraken\Throwable\Exception
public function createException($message, $prev = null) { return new Exception($message, $prev); }
ThrowableTest
assertData
assertTrace
createError
createException
testStaticApiGetBasename_ReturnsThrowableBasename_ForError
testStaticApiGetBasename_ReturnsThrowableBasename_ForException
testStaticApiGetThrowableData_ReturnsData_ForError
testStaticApiGetThrowableData_ReturnsData_ForException
testStaticApiGetThrowableStack_ReturnsStack_ForError
testStaticApiGetThrowableStack_ReturnsStack_ForException
testStaticApiGetTraceElements_ReturnsTraceElements_ForError
testStaticApiGetTraceElements_ReturnsTraceElements_ForException
testStaticApiParseArgs_ParsesEachArgumentToString
testStaticApiParseThrowableMessage_ParsesThrowableMessage_ForError
testStaticApiParseThrowableMessage_ParsesThrowableMessage_ForException
testStaticApiParseTraceElement_ParsesSingleTraceElement
testStaticApiParseTraceElement_UsesPlaceholdersOnMissingParams