title: How to get the component name from a Proxy in Vue
body: <p>I'm implementing onErrorCaptured in a Vue component. It has 3 parameters <code>(error: unknown, instance: ComponentPublicInstance, info: string)</code>. instance actually ends up being a Proxy. Since the error bubbles up to the component that I'm implementing the onErrorCaptured in, I am trying to get the name of the component that threw the error.</p>
  <p>I'm pretty sure that using the router will work in most cases <code>const throwingComponentName = router.currentRoute.value.name</code>.</p>
  <p>However, how do I get the name of the component from the <code>instance</code>?</p>