### Description Add support for filtering replay captures on errors through a new `beforeErrorSampling` callback Implementations: - [React Native](https://github.com/getsentry/sentry-react-native/pull/5393) - [Android](https://github.com/getsentry/sentry-java/pull/5214)
Description
Add support for filtering replay captures on errors through a new
beforeErrorSamplingcallbackImplementations: