XeroAPI/PHP-Xero — pull request #4 by M1ke- (2012-05-23 10:42:48+00:00)
Title: Throw an exception when method does not exist

I was getting a false return and realised I'd typo'd in the method name. This could be common for first time developers on the API, and so the class should return an exception. it doesn't need to be caught as this will only occur during development, but save many hours of developer time chasing some obscure CURL bug when they've just called the wrong method.