src/precore/util/TryTo.php
public function andFinally(callable $finallyBlock) : TryTo
    {
        return TryTo::run($this->tryBlock, $this->exceptions, $finallyBlock);
    }
public function andFinally(callable $finallyBlock) : TryTo
    {
        return TryTo::run($this->tryBlock, $this->exceptions, $finallyBlock);
    }
Executes the try block provided before and
the given function is executed within a finally block.

@param callable $finallyBlock
@return TryTo
@throws Exception the thrown exception if it is not handled by this TryTo