Kraken\Runtime\Supervision\Cmd\CmdEscalate::solver PHP Method

solver() protected method

protected solver ( Erro\Error | Exceptio\Exception $ex, mixed[] $params = [] ) : mixed
$ex Erro\Error | Exceptio\Exception
$params mixed[]
return mixed
    protected function solver($ex, $params = [])
    {
        $req = $this->createRequest($this->channel, $this->parent, new RuntimeCommand('cmd:error', ['exception' => get_class($ex), 'message' => $ex->getMessage(), 'hash' => $params['hash']]));
        return $req->call();
    }