       alert reason.message
       return false
     if reason instanceof goog.labs.net.xhr.Error
-      alert ErrorReporter.CONNECTION_ERROR_MSG
+      alert ErrorReporter.MSG_CONNECTION_ERROR
       return false
     true
 


    # TODO: Show something more beautiful then alert. Add button to reload app.
    # Auto-reload is bad idea because it can cause reload looping.
    alert ErrorReporter.APP_ERROR_MSG

    if !@isAlreadyReported_ reason
      @reporter?.setAdditionalArguments

    if !goog.DEBUG
      @reporter = goog.debug.ErrorReporter.install @routes.api.clientErrors.url()

  @MSG_APP_ERROR: goog.getMsg 'Application error. Please reload browser.'
  @MSG_CONNECTION_ERROR: goog.getMsg 'Connection error. Check your connection please.'

  ###*
    @param {string} action
