We should just pass a single object here not an array. We should wrap this in a client side error object.