Don't assume that error is an array.

Fix for google/google-api-nodejs-client#39