Format the error object to match the Ember Data way