Merge branch 'master' of github.com:apache/incubator-weex-site
diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js
index 8d91e78..1f03ed6 100644
--- a/docs/.vuepress/config.js
+++ b/docs/.vuepress/config.js
@@ -55,7 +55,8 @@
                 ['develop/setup-develop-environment', 'Setup Develop Environment'],
                 ['develop/create-a-new-app', 'Create a New App'],
                 ['develop/integrate-to-android-app', 'Integrate to Android'],
-                ['develop/integrate-to-iOS-app', 'Integrate to iOS']
+                ['develop/integrate-to-iOS-app', 'Integrate to iOS'],
+                ['develop/weex_error_code', 'WeexErrorCode']
               ]
             },
             {
@@ -226,7 +227,8 @@
                 ['develop/setup-develop-environment', '设置开发环境'],
                 ['develop/create-a-new-app', '创建一个新的app'],
                 ['develop/integrate-to-android-app', '集成到Android应用'],
-                ['develop/integrate-to-iOS-app', '集成到iOS应用']
+                ['develop/integrate-to-iOS-app', '集成到iOS应用'],
+                ['develop/weex_error_code', 'WEEX常见错误码']
               ]
             },
             {
diff --git a/docs/guide/develop/weex_error_code.md b/docs/guide/develop/weex_error_code.md
new file mode 100644
index 0000000..a59b263
--- /dev/null
+++ b/docs/guide/develop/weex_error_code.md
@@ -0,0 +1,64 @@
+# Guide
+
+ErrorCode in WEEX 
+
+# Common Error
+
+## Degrade
+
+
+|code|Android|iOS|reason|soultion|
+|:---|:---|:---|:---|:---|
+|-1000|✓|✓|degrade cause exception|check errmsg,fix|
+|-1001|✓|:|create instance failed|check errmsg,fix|
+|-1003|✓|✓|bundle content-length check failed|check the bundle sent by server|
+|-1004|✓|✓|http header Content-Type check failed,must be application/javascript|check server response|
+|-1005|✓|✓|other reason|check errormsg fix|
+|-1008|:|✓|bundle downLoad failed|check errormsg|
+
+
+## JS Exception
+
+|code|Android|iOS| reason |soultion|
+|:---|:---|:---|:---|:---|
+|-2013|✓|✓|js exception|check js error stack|
+|-9801|✓|✓|memory leak, jsBundle's bundletype error,should be`// { "framework": "vue/rax"} `|repackage bundle|
+
+
+## DownLoad Error
+
+
+|code|Android|iOS|reason| soultion |
+|:---|:---|:---|:---|:---|
+|-9201|✓|:|bundle download faild|check error msg|
+
+
+## WhiteScreen Exception
+
+|code|Android|iOS|reasom| soultion |
+|:---|:---|:---|:---|:---|
+|-9700|✓|✓|white screen cause js exception |check error msg,fix|
+
+
+
+# Plantform
+
+
+## Android
+
+
+native logic,see error msg.
+
+- code: -1012
+	- description: jsfm init failed cause params is null
+- code: -2001
+	- description: load so failed
+- code: -2112 
+	- description: weexjscCrash
+- code: -9000
+	 - description: sdk init failed
+- code: -9003
+	- description: jsfm init failed
+- code: -9610
+	- description: when call Native,params is null(instanceid、args)
+
diff --git a/docs/zh/guide/develop/weex_error_code.md b/docs/zh/guide/develop/weex_error_code.md
new file mode 100644
index 0000000..1071992
--- /dev/null
+++ b/docs/zh/guide/develop/weex_error_code.md
@@ -0,0 +1,73 @@
+# 概述
+
+WEEX Android平台,各种异常错误码的含义。
+
+
+# 公共错误
+
+## 降级类
+
+|code|Android|iOS|原因|解决方案|
+|:---|:---|:---|:---|:---|
+|-1000|✓|✓|异常降级|查看error msg,fix|
+|-1001|✓|:|创建instnacejs错误|查看errmsg,fix|
+|-1003|✓|✓|bundle content-length 校验失败|检查服务端下发bundle|
+|-1004|✓|✓|http header的Content-Type 不合法,必须是application/javascript|服务端返回异常|
+|-1005|✓|✓|其它原因|查看errormsg fix|
+|-1008|:|✓|bundle下载异常|查看|
+
+
+## js错误
+
+|code|Android|iOS|原因|解决方案|
+|:---|:---|:---|:---|:---|
+|-2013|✓|✓|js执行错误|查看error stack,fix|
+|-9801|✓|✓|内存泄漏, jsBundle的头部bundletype不对,正确的应该是`// { "framework": "vue/rax"} `|重新打包|
+
+
+## 下载异常
+
+
+|code|Android|iOS|原因|解决方案|
+|:---|:---|:---|:---|:---|
+|-9201|✓|:|bundle下载失败|查看error msg,fix |
+
+
+## 白屏异常
+
+|code|Android|iOS|原因|解决方案|
+|:---|:---|:---|:---|:---|
+|-9700|✓|✓|js错误导致白屏|查看error msg,fix|
+
+
+
+# 平台特殊
+
+
+## Android
+
+
+- 错误码:-2001
+	- 说明:load so 失败,sdk初始化失败
+- 错误码:-2111
+	- 说明:jsc重启
+- 错误码:-2112 
+	- 说明:jsc进程Crash
+- 错误码:9000
+	 - 说明:sdk初始化失败
+- 错误码:-9003
+	- 说明:jsfm 初始化失败
+- 错误码:-9610
+	- 说明:callNativeModule 时,参数为空 (instanceid、args)
+
+
+
+
+
+
+
+
+
+
+
+