Kraken\Supervision\SolverInterface::solve PHP Method

solve() public method

Solve given Error, Exception or string message with set of params using solver's handler method.
public solve ( 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 solve($ex, $params = []);
SolverInterface