當前位置: 首頁>>代碼示例>>TypeScript>>正文


TypeScript browser.errorHandler函數代碼示例

本文整理匯總了TypeScript中@angular/platform-browser/src/browser.errorHandler函數的典型用法代碼示例。如果您正苦於以下問題:TypeScript errorHandler函數的具體用法?TypeScript errorHandler怎麽用?TypeScript errorHandler使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。


在下文中一共展示了errorHandler函數的7個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的TypeScript代碼示例。

示例1: createInternal

 createInternal():import1.AppModule {
   this._CommonModule_0 = new import2.CommonModule();
   this._ApplicationModule_1 = new import3.ApplicationModule();
   this._BrowserModule_2 = new import4.BrowserModule(this.parent.get(import4.BrowserModule,(null as any)));
   this._HttpModule_3 = new import5.HttpModule();
   this._InternalFormsSharedModule_4 = new import6.InternalFormsSharedModule();
   this._FormsModule_5 = new import7.FormsModule();
   this._ReactiveFormsModule_6 = new import7.ReactiveFormsModule();
   this._IonicModule_7 = new import8.IonicModule();
   this._AppModule_8 = new import1.AppModule();
   this._ErrorHandler_11 = import4.errorHandler();
   this._ConfigToken_12 = (null as any);
   this._UrlToken_13 = import8.provideLocationHref();
   this._QueryParams_14 = import68.setupQueryParams(this._UrlToken_13);
   this._PlatformConfigToken_15 = import69.providePlatformConfigs();
   this._UserAgentToken_16 = import8.provideUserAgent();
   this._NavigatorPlatformToken_17 = import8.provideNavigatorPlatform();
   this._DocumentDirToken_18 = import8.provideDocumentDirection();
   this._DocLangToken_19 = import8.provideDocumentLang();
   this._Platform_20 = import70.setupPlatform(this._PlatformConfigToken_15,this._QueryParams_14,this._UserAgentToken_16,this._NavigatorPlatformToken_17,this._DocumentDirToken_18,this._DocLangToken_19,this.parent.get(import61.NgZone));
   this._Config_21 = import71.setupConfig(this._ConfigToken_12,this._QueryParams_14,this._Platform_20);
   this._App_22 = new import10.App(this._Config_21,this._Platform_20);
   this._APP_INITIALIZER_23 = [
     import72.registerModeConfigs(this._Config_21),
     import73.registerTransitions(this._Config_21),
     import30.setupProvideEvents(this._Platform_20),
     import41.setupTapClick(this._Config_21,this._App_22,this.parent.get(import61.NgZone))
   ]
   ;
   this._ApplicationInitStatus_24 = new import11.ApplicationInitStatus(this._APP_INITIALIZER_23);
   this._Testability_25 = new import12.Testability(this.parent.get(import61.NgZone));
   this._ApplicationRef__26 = new import13.ApplicationRef_(this.parent.get(import61.NgZone),this.parent.get(import74.Console),this,this._ErrorHandler_11,this,this._ApplicationInitStatus_24,this.parent.get(import12.TestabilityRegistry,(null as any)),this._Testability_25);
   return this._AppModule_8;
 }
開發者ID:ion-book,項目名稱:demo103,代碼行數:34,代碼來源:app.module.ngfactory.ts

示例2: createInternal

 createInternal():import1.BrowserModule {
   this._CommonModule_0 = new import2.CommonModule();
   this._ApplicationModule_1 = new import3.ApplicationModule();
   this._BrowserModule_2 = new import1.BrowserModule(this.parent.get(import1.BrowserModule,(null as any)));
   this._ErrorHandler_5 = import1.errorHandler();
   this._ApplicationInitStatus_6 = new import5.ApplicationInitStatus(this.parent.get(import5.APP_INITIALIZER,(null as any)));
   this._Testability_7 = new import6.Testability(this.parent.get(import20.NgZone));
   this._ApplicationRef__8 = new import7.ApplicationRef_(this.parent.get(import20.NgZone),this.parent.get(import22.Console),this,this._ErrorHandler_5,this,this._ApplicationInitStatus_6,this.parent.get(import6.TestabilityRegistry,(null as any)),this._Testability_7);
   return this._BrowserModule_2;
 }
開發者ID:ArtwareSoft,項目名稱:jbart5-ng,代碼行數:10,代碼來源:browser.ngfactory.ts

示例3: createInternal

 createInternal():import1.GridModule {
   this._CommonModule_0 = new import2.CommonModule();
   this._ApplicationModule_1 = new import3.ApplicationModule();
   this._BrowserModule_2 = new import4.BrowserModule(this.parent.get(import4.BrowserModule,(null as any)));
   this._InternalFormsSharedModule_3 = new import5.InternalFormsSharedModule();
   this._FormsModule_4 = new import6.FormsModule();
   this._GridModule_5 = new import1.GridModule();
   this._ErrorHandler_8 = import4.errorHandler();
   this._ApplicationInitStatus_9 = new import8.ApplicationInitStatus(this.parent.get(import8.APP_INITIALIZER,(null as any)));
   this._Testability_10 = new import9.Testability(this.parent.get(import24.NgZone));
   this._ApplicationRef__11 = new import10.ApplicationRef_(this.parent.get(import24.NgZone),this.parent.get(import26.Console),this,this._ErrorHandler_8,this,this._ApplicationInitStatus_9,this.parent.get(import9.TestabilityRegistry,(null as any)),this._Testability_10);
   return this._GridModule_5;
 }
開發者ID:seanlandsman,項目名稱:ag-grid-ng2-dynamic-components,代碼行數:13,代碼來源:grid.module.ngfactory.ts

示例4: createInternal

 createInternal():import1.IonicModule {
   this._CommonModule_0 = new import2.CommonModule();
   this._ApplicationModule_1 = new import3.ApplicationModule();
   this._BrowserModule_2 = new import4.BrowserModule(this.parent.get(import4.BrowserModule,(null as any)));
   this._HttpModule_3 = new import5.HttpModule();
   this._InternalFormsSharedModule_4 = new import6.InternalFormsSharedModule();
   this._FormsModule_5 = new import7.FormsModule();
   this._ReactiveFormsModule_6 = new import7.ReactiveFormsModule();
   this._IonicModule_7 = new import1.IonicModule();
   this._ErrorHandler_10 = import4.errorHandler();
   this._ApplicationInitStatus_11 = new import9.ApplicationInitStatus(this.parent.get(import9.APP_INITIALIZER,(null as any)));
   this._Testability_12 = new import10.Testability(this.parent.get(import38.NgZone));
   this._ApplicationRef__13 = new import11.ApplicationRef_(this.parent.get(import38.NgZone),this.parent.get(import40.Console),this,this._ErrorHandler_10,this,this._ApplicationInitStatus_11,this.parent.get(import10.TestabilityRegistry,(null as any)),this._Testability_12);
   return this._IonicModule_7;
 }
開發者ID:Davidzhaojb,項目名稱:ionic-site,代碼行數:15,代碼來源:module.ngfactory.ts

示例5: createInternal

 createInternal():import1.StoreModule {
   this._HttpModule_0 = new import2.HttpModule();
   this._ModelModule_1 = new import3.ModelModule();
   this._CommonModule_2 = new import4.CommonModule();
   this._ApplicationModule_3 = new import5.ApplicationModule();
   this._BrowserModule_4 = new import6.BrowserModule(this.parent.get(import6.BrowserModule,(null as any)));
   this._InternalFormsSharedModule_5 = new import7.InternalFormsSharedModule();
   this._FormsModule_6 = new import8.FormsModule();
   this._RouterModule_7 = new import9.RouterModule(this.parent.get(import9.ROUTER_FORROOT_GUARD,(null as any)));
   this._StoreModule_8 = new import1.StoreModule();
   this._ErrorHandler_24 = import6.errorHandler();
   this._ApplicationInitStatus_25 = new import21.ApplicationInitStatus(this.parent.get(import21.APP_INITIALIZER,(null as any)));
   this._Testability_26 = new import22.Testability(this.parent.get(import37.NgZone));
   this._ApplicationRef__27 = new import23.ApplicationRef_(this.parent.get(import37.NgZone),this.parent.get(import39.Console),this,this._ErrorHandler_24,this,this._ApplicationInitStatus_25,this.parent.get(import22.TestabilityRegistry,(null as any)),this._Testability_26);
   return this._StoreModule_8;
 }
開發者ID:hieutran106,項目名稱:pro-angular-2ed,代碼行數:16,代碼來源:store.module.ngfactory.ts

示例6: createInternal

 createInternal():import1.AppModule {
   this._HttpModule_0 = new import2.HttpModule();
   this._InternalFormsSharedModule_1 = new import3.InternalFormsSharedModule();
   this._FormsModule_2 = new import4.FormsModule();
   this._CommonModule_3 = new import5.CommonModule();
   this._ApplicationModule_4 = new import6.ApplicationModule();
   this._BrowserModule_5 = new import7.BrowserModule(this.parent.get(import7.BrowserModule,(null as any)));
   this._ROUTER_FORROOT_GUARD_6 = import8.provideForRootGuard(this.parent.get(import50.Router,(null as any)));
   this._RouterModule_7 = new import8.RouterModule(this._ROUTER_FORROOT_GUARD_6);
   this._AppModule_8 = new import1.AppModule();
   this._ErrorHandler_18 = import7.errorHandler();
   this._ApplicationInitStatus_19 = new import15.ApplicationInitStatus(this.parent.get(import15.APP_INITIALIZER,(null as any)));
   this._Testability_20 = new import16.Testability(this.parent.get(import41.NgZone));
   this._ApplicationRef__21 = new import17.ApplicationRef_(this.parent.get(import41.NgZone),this.parent.get(import51.Console),this,this._ErrorHandler_18,this,this._ApplicationInitStatus_19,this.parent.get(import16.TestabilityRegistry,(null as any)),this._Testability_20);
   return this._AppModule_8;
 }
開發者ID:mon0051,項目名稱:forefront,代碼行數:16,代碼來源:app.modules.ngfactory.ts

示例7: createInternal

 createInternal():import1.AppModule {
   this._CommonModule_0 = new import2.CommonModule();
   this._ApplicationModule_1 = new import3.ApplicationModule();
   this._BrowserModule_2 = new import4.BrowserModule(this.parent.get(import4.BrowserModule,(null as any)));
   this._HttpModule_3 = new import5.HttpModule();
   this._ModelModule_4 = new import6.ModelModule();
   this._InternalFormsSharedModule_5 = new import7.InternalFormsSharedModule();
   this._FormsModule_6 = new import8.FormsModule();
   this._ROUTER_FORROOT_GUARD_7 = import9.provideForRootGuard(this.parent.get(import68.Router,(null as any)));
   this._RouterModule_8 = new import9.RouterModule(this._ROUTER_FORROOT_GUARD_7);
   this._StoreModule_9 = new import10.StoreModule();
   this._AdminModule_10 = new import11.AdminModule();
   this._AppModule_11 = new import1.AppModule();
   this._ErrorHandler_14 = import4.errorHandler();
   this._ApplicationInitStatus_15 = new import13.ApplicationInitStatus(this.parent.get(import13.APP_INITIALIZER,(null as any)));
   this._Testability_16 = new import14.Testability(this.parent.get(import55.NgZone));
   this._ApplicationRef__17 = new import15.ApplicationRef_(this.parent.get(import55.NgZone),this.parent.get(import69.Console),this,this._ErrorHandler_14,this,this._ApplicationInitStatus_15,this.parent.get(import14.TestabilityRegistry,(null as any)),this._Testability_16);
   this._NoPreloading_60 = new import40.NoPreloading();
   this._PreloadingStrategy_61 = this._NoPreloading_60;
   this._RouterPreloader_62 = new import40.RouterPreloader(this._Router_57,this._NgModuleFactoryLoader_55,this._Compiler_19,this,this._PreloadingStrategy_61);
   return this._AppModule_11;
 }
開發者ID:hieutran106,項目名稱:pro-angular-2ed,代碼行數:22,代碼來源:app.module.ngfactory.ts


注:本文中的@angular/platform-browser/src/browser.errorHandler函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。