Update README.md

Fix errorHandler example
master
Jonas Lomholdt 2017-09-26 22:26:30 +02:00 committed by Pooya Parsa
parent 50f6faacf4
commit 1a0c600ecc
1 changed files with 2 additions and 2 deletions

View File

@ -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)
}
},
```