From 1a0c600ecc6bd128f78ddf469b3a428570ab19f0 Mon Sep 17 00:00:00 2001 From: Jonas Lomholdt Date: Tue, 26 Sep 2017 22:26:30 +0200 Subject: [PATCH] Update README.md Fix errorHandler example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 083eb18..b7e553b 100755 --- a/README.md +++ b/README.md @@ -223,8 +223,8 @@ This example uses nuxt default error page. ```js axios: { - errorHandler (error, { error }) { - error('Request Error: ' + error) + errorHandler (errorReason, { error }) { + error('Request Error: ' + errorReason) } }, ```