withErrorConfig static method
Test error configuration
Implementation
static void withErrorConfig(
RxErrorConfig config,
void Function() test,
) {
final originalConfig = getRxErrorConfig();
setRxErrorConfig(config);
try {
test();
} finally {
setRxErrorConfig(originalConfig);
}
}