Skip to content

Commit 380e440

Browse files
author
Richard Evans
committed
RuntimeException class not found when used in try/catch block
FatalThrowableError in WpClient.php line 95: Class 'Vnn\WpApiClient\RuntimeException' not found
1 parent d31d7b6 commit 380e440

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/WpClient.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
use Psr\Http\Message\RequestInterface;
66
use Psr\Http\Message\ResponseInterface;
7+
use RuntimeException;
78
use Vnn\WpApiClient\Auth\AuthInterface;
89
use Vnn\WpApiClient\Endpoint;
910
use Vnn\WpApiClient\Http\ClientInterface;

0 commit comments

Comments
 (0)