Disabling automatic error capturing in JavaScript SDK

I think what you want is

defaultIntegrations: false

Sentry.init({
    dsn: 'MY_SENTRY_DSN',
    environment: 'MY_ENV',
    defaultIntegrations: false
});

This also disables breadcrumb tracking and patching of global functions like console.

That way you will only capture Exception you explicitly catch yourself.