i've been working with the Paypal SDK and i have an action that verifies 
the order of the payment made.

I want to catch and handle the Paypal Errors during the transaction to later show it on a message.

i tried adding PayPal\Exception\PayPalConnectionException on catch without any result.

this how it shows the error:

<https://i.stack.imgur.com/zlRge.png>

My code action:

```
public static function actionGetorder($orderId)
{
    try 
    {
        // 3. Call PayPal to get the transaction details
        $client = PayPalClient::client();
        $response = $client->execute(new OrdersGetRequest($orderId)); //The order ID isn't valid so it will give the error

        var_dump ($response->result->payer->email_address);
        print "Status: {$response->result->status}\n";
    } 
    catch (PayPal\Exception\PayPalConnectionException $ex) 
    {
        echo "lol";
    }

}

```

The idea is in that code it should show the lol message but it doesn't, so is it possible catch and handle the error and how?.

Thanks for reading, greetings.