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.cc
content::RenderFrame* render_frame) {
  new PepperHelper(render_frame);
  
  blink::WebSecurityPolicy::registerURLSchemeAsAllowingServiceWorkers("file");
  
  if (!render_frame->IsMainFrame())
    return;
  new AtomRenderFrameObserver(render_frame, this);
}
void AtomRendererClient::RenderViewCreated(content::RenderView* render_view) {
  new printing::PrintWebViewHelper(render_view);
  new AtomRenderViewObserver(render_view, this);
  blink::WebFrameWidget* web_frame_widget = render_view->GetWebFrameWidget();
  if (!web_frame_widget)
    return;
  base::CommandLine* cmd = base::CommandLine::ForCurrentProcess();
  if (cmd->HasSwitch(switches::kGuestInstanceID)) {  
    web_frame_widget->setBaseBackgroundColor(SK_ColorTRANSPARENT);
  } else {  
    
    std::string name = cmd->GetSwitchValueASCII(switches::kBackgroundColor);
    
    SkColor color = name.empty() ? SK_ColorWHITE : ParseHexColor(name);
    web_frame_widget->setBaseBackgroundColor(color);
  }
}
void AtomRendererClient::RunScriptsAtDocumentStart(