src/SDK/Corundum.php
protected function apiSend(Slice $slice, callable $callback)
    {
        try
        {
            return $this->apiRequest($slice);
        }
        catch (\Throwable $throwable)
        {
            return $this->apiRequest($callback());
        }
    }
protected function apiSend(Slice $slice, callable $callback)
    {
        try
        {
            return $this->apiRequest($slice);
        }
        catch (\Throwable $throwable)
        {
            return $this->apiRequest($callback());
        }
    }
protected function apiSend ( Slice $ slice , callable $ callback ) { try { return $ this -> apiRequest ( $ slice ) ; } catch ( \ Throwable $ throwable ) { return $ this -> apiRequest ( $ callback ( ) ) ; } }
@param Slice    $slice
@param callable $callback

@return Slice|null
@param Slice $slice @param callable $callback