diff --git a/README.md b/README.md index 0098967..e01acdc 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ table. Assuming this PHP script is in the root directory of your project: echo $response->getStatusCode() . "\n"; var_dump($response->getContent()); - } catch (RestException $e) { + } catch (RestClientException $e) { echo $e->getCode() . "\n"; echo $e->getMessage(); }