} else if (error.response && error.response.data) {
          commit(TYPES.LOGIN_FAIL, error.response.data)
        } else if (error.request) {
          commit(TYPES.LOGIN_FAIL, error.request)
        } else {