refactor(exception_handler): unified all exception handling
BREAKING CHANGE
Previously it was possible to pass a custom error reporter to bootstrap, which was used only during the construction of Injector. This had limited utility, so this capability has been removed.
This commit is contained in:
@@ -15,7 +15,7 @@ export 'application_common.dart' show ApplicationRef;
|
||||
///
|
||||
/// See [commonBootstrap] for detailed documentation.
|
||||
Future<ApplicationRef> bootstrap(Type appComponentType,
|
||||
[List componentInjectableBindings, Function errorReporter]) {
|
||||
[List componentInjectableBindings]) {
|
||||
reflector.reflectionCapabilities = new ReflectionCapabilities();
|
||||
return commonBootstrap(appComponentType, componentInjectableBindings, errorReporter);
|
||||
return commonBootstrap(appComponentType, componentInjectableBindings);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user