fusionauth-php-client
fusionauth-php-client copied to clipboard
Handle cURL errors
As described in https://github.com/FusionAuth/fusionauth-php-client/issues/28 cURL errors are not handled so there is no way to know what went wrong. This PR checks if any cURL error occurred before continuing and throws a proper exception indicating the issue.