Skip to content

Commit cf38567

Browse files
committed
docs: explain default error handler behaviour
1 parent bf12a6b commit cf38567

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/api/application.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,11 @@ Assign a global handler for uncaught errors propagating from within the applicat
400400
}
401401
```
402402

403+
- **Default**
404+
405+
The default error handler will re-throw errors during development and log errors during production.
406+
You can configure this using the [throwUnhandledErrorInProduction](#app-config-throwunhandlederrorinproduction) property.
407+
403408
## app.config.warnHandler {#app-config-warnhandler}
404409

405410
Assign a custom handler for runtime warnings from Vue.

0 commit comments

Comments
 (0)