Kraken\Supervision\SolverInterface::__invoke PHP Method

__invoke() public method

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