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:
vsavkin
2015-07-22 17:15:38 -07:00
parent fdf226ab69
commit 70792c744d
7 changed files with 23 additions and 41 deletions
@@ -8,7 +8,6 @@ import 'application_common.dart';
/// See [commonBootstrap] for detailed documentation.
Future<ApplicationRef> bootstrapStatic(
Type appComponentType,
[List componentInjectableBindings,
Function errorReporter]) {
return commonBootstrap(appComponentType, componentInjectableBindings, errorReporter);
[List componentInjectableBindings]) {
return commonBootstrap(appComponentType, componentInjectableBindings);
}