Skip to content

Instantly share code, notes, and snippets.

@Samshal
Created October 29, 2016 09:55
Show Gist options
  • Save Samshal/a1db5ec778ede4ef7bc3e1574ce6d856 to your computer and use it in GitHub Desktop.
Save Samshal/a1db5ec778ede4ef7bc3e1574ce6d856 to your computer and use it in GitHub Desktop.
<?php
try {
//send request to cardinity's server the normal way
}
catch(GuzzleHttp\Exception\ClientException $e){
//do something nice with $e. var_dump it to see its beauty
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment