fictorial/linode-api — pull request #4 by bluesmoon (2013-01-08 15:32:30+00:00)
Title: Check for ERRORARRAY before checking its length

If the API client is called with a batch of commands, then
obj.ERRORARRAY does not exist since obj is an array. We could
deal with the whole batching stuff in linode-api, or just let the
caller deal with it.

In either case, we should be prepared for the case where ERRORARRAY
does not actually exist, so checking its length throws an exception.