Example:

`event.errorCode = -118`
`event.errorDescription = "CONNECTION_TIMED_OUT"`

or to be ISO with Google Chrome:
`event.errorDescription = "ERR_CONNECTION_TIMED_OUT"`

_See https://src.chromium.org/svn/trunk/src/net/base/net_error_list.h_

Would that make sense?

atom/renderer/atom_renderer_client.h
#ifndef ATOM_RENDERER_ATOM_RENDERER_CLIENT_H_
#define ATOM_RENDERER_ATOM_RENDERER_CLIENT_H_
#include <string>
#include <vector>
#include "content/public/renderer/content_renderer_client.h"
#include "content/public/renderer/render_process_observer.h"
namespace atom {
class AtomBindings;
class NodeBindings;
class AtomRendererClient : public content::ContentRendererClient,
                           public content::RenderProcessObserver {
 public:
  AtomRendererClient();
  virtual ~AtomRendererClient();
  void DidCreateScriptContext(v8::Handle<v8::Context> context);
  void WillReleaseScriptContext(v8::Handle<v8::Context> context);
 private:
  enum NodeIntegration {
    ALL,
    EXCEPT_IFRAME,
    MANUAL_ENABLE_IFRAME,
    DISABLE,
  };