setup() {
onErrorCaptured((err, instance, info) => {
fn(err, info, 'root')
- return true
+ return false
})
return () => h(Child)
}
setup() {
onErrorCaptured((err, instance, info) => {
fn(err, info, 'root')
- return true
+ return false
})
return () => h(Child)
}
setup() {
onErrorCaptured((err, instance, info) => {
fn(err, info, 'child')
- return true
+ return false
})
return () => h(GrandChild)
}
setup() {
onErrorCaptured((err, instance, info) => {
fn(err, info)
- return true
+ return false
})
return () => h(Child)
}
setup() {
onErrorCaptured((err, instance, info) => {
fn(err, info)
- return true
+ return false
})
return () => h(Child)
}
setup() {
onErrorCaptured((err, instance, info) => {
fn(err, info)
- return true
+ return false
})
return () => h(Child)
}
setup() {
onErrorCaptured((err, instance, info) => {
fn(err, info)
- return true
+ return false
})
return () => h(Child)
}
setup() {
onErrorCaptured((err, instance, info) => {
fn(err, info)
- return true
+ return false
})
return () => h(Child)
}
setup() {
onErrorCaptured((err, instance, info) => {
fn(err, info)
- return true
+ return false
})
return () => h(Child)
}
setup() {
onErrorCaptured((err, instance, info) => {
fn(err, info)
- return true
+ return false
})
return () => h(Child)
}
setup() {
onErrorCaptured((err, instance, info) => {
fn(err, info)
- return true
+ return false
})
return () => h(Child)
}
setup() {
onErrorCaptured((err, instance, info) => {
fn(err, info)
- return true
+ return false
})
return () => h(Child)
}
setup() {
onErrorCaptured((err, instance, info) => {
fn(err, info)
- return true
+ return false
})
return () =>
h(Child, {
setup() {
onErrorCaptured((err, instance, info) => {
fn(err, info)
- return true
+ return false
})
return () =>
h(Child, {
setup() {
onErrorCaptured((err, instance, info) => {
fn(err, info)
- return true
+ return false
})
return () =>
h(Child, {
const errorCapturedHooks = cur.ec
if (errorCapturedHooks) {
for (let i = 0; i < errorCapturedHooks.length; i++) {
- if (errorCapturedHooks[i](err, exposedInstance, errorInfo)) {
+ if (
+ errorCapturedHooks[i](err, exposedInstance, errorInfo) === false
+ ) {
return
}
}