A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/vuejs/vue/issues/6953 below:

errorCaptured and errorHandler should capture errors in v-on handlers · Issue #6953 · vuejs/vue · GitHub

Version

2.5.2

Reproduction link

https://codesandbox.io/s/k9rlpoojpr

Steps to reproduce

Click on throw error button in reproduction link

What is expected?

This should display an alert with error object, handled by errorCaptured hook defined in App.vue component.

What is actually happening?

The errorCaptured hook is not invoked

It seems that typings in options.d.ts is not the same as specified in the docs too.

errorCaptured?(): boolean | void;
https://vuejs.org/v2/api/#errorCaptured

aphofstede, stalniy, nemtsov, sepehr, niborg and 1 more


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4