Kraken\Supervision\SupervisorInterface::__invoke PHP Method

__invoke() public method

Solve given Error or Exception with set of params using solver's handler method.
See also: SupervisorInterface::solve
public __invoke ( Erro\Error | Exceptio\Exception $ex, mixed[] $params = [] ) : Kraken\Promise\PromiseInterface
$ex Erro\Error | Exceptio\Exception
$params mixed[]
return Kraken\Promise\PromiseInterface
    public function __invoke($ex, $params = []);