Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
mpyw
Co
Internal
ControlUtils
fail
mpyw\Co\Internal\ControlUtils::fail PHP Method
ControlUtils Class Documentation
Show file
Open project: mpyw/co
fail()
public
static
method
Handle success as ControlException.
public
static
fail
(
mixed
$yieldable
) :
Generator
$yieldable
mixed
return
Generator
public static function fail($yieldable) { throw new ControlException((yield $yieldable)); }
ControlUtils
anyOrRace
fail
getWrapperGenerator
reverse