AndreasHeiberg/vzaar — pull request #4 by bjrhodes (2014-11-20 10:38:19+00:00)
Title: Update Vzaar.php

Update to whoami request to make the plugin a little more resilient and informative on developer error.

I am using variable configs depending on situation and had some uninformative errors because of inconsistent responses from the API on error. I've just thrown in a couple of more specific exceptions when the whoami falis, as this is likely to be first port-of-call for config and plugin integration.