@sentry/browser Get errors only from files

I would like to get errors only from files in my site. I would not like to receive errors from the internal pages and 3rd party extension. Is this possible configure sentry so?

Thank you.