* Electron version: 1.3.6
* Operating system: Mac OS X 10.11

Currently, when the auto updater runs into an error, it returns a localized error message in auto_updater_mac.mm. Handling these errors becomes more complicated because we now have to account for all the different languages. Moreover, unicode string comparison in javascript is not very stable.

If you can prefix the localized error message with an error code, then we can look at that error code and properly handle errors no matter what language.
atom/browser/api/atom_api_auto_updater.h
#ifndef ATOM_BROWSER_API_ATOM_API_AUTO_UPDATER_H_
#define ATOM_BROWSER_API_ATOM_API_AUTO_UPDATER_H_
#include <string>
#include "atom/browser/api/event_emitter.h"
#include "atom/browser/auto_updater.h"
#include "atom/browser/window_list_observer.h"
#include "native_mate/arguments.h"
#include "native_mate/handle.h"
namespace atom {
namespace api {
class AutoUpdater : public mate::EventEmitter<AutoUpdater>,