From 380e4400e0258d0bff192b0893d3fb96f4be77e3 Mon Sep 17 00:00:00 2001 From: Richard Evans Date: Wed, 5 Apr 2017 16:22:44 +0100 Subject: [PATCH] RuntimeException class not found when used in try/catch block FatalThrowableError in WpClient.php line 95: Class 'Vnn\WpApiClient\RuntimeException' not found --- src/WpClient.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/WpClient.php b/src/WpClient.php index 5058cda..434b578 100644 --- a/src/WpClient.php +++ b/src/WpClient.php @@ -4,6 +4,7 @@ use Psr\Http\Message\RequestInterface; use Psr\Http\Message\ResponseInterface; +use RuntimeException; use Vnn\WpApiClient\Auth\AuthInterface; use Vnn\WpApiClient\Endpoint; use Vnn\WpApiClient\Http\ClientInterface;