Create error object for autosave error.