Filter for vue.js web-components

Hello all,
we are using sentry within a web-component that is integrated into a third-party website. We would like to only receive errors occuring from our web-component and not from the whole third-party website.
Any ideas on how to achieve that?
Of course, the beforeSend method can be used, but based on which criteria, we can filter?

Looking forward to your ideas.
Thanks
Regards,
Frederik