diff --git a/src/v2/api/index.md b/src/v2/api/index.md index db032f3e9c..fd59b54ae3 100644 --- a/src/v2/api/index.md +++ b/src/v2/api/index.md @@ -70,9 +70,9 @@ type: api - **Usage:** ``` js - Vue.config.errorHandler = function (err, vm, type) { + Vue.config.errorHandler = function (err, vm, info) { // handle error - // `type` is a Vue-specific error type, e.g. which lifecycle hook + // `info` is a Vue-specific error info, e.g. which lifecycle hook // the error was found in. Only available in 2.2.0+ } ```