mirror of
https://github.com/angular/angular.git
synced 2026-11-29 09:57:50 -05:00
The `malformedUriErrorHandler` is used as a recovery mechanism for when the `UrlSerializer` throws an error when parsing a URL string. If custom error handling is desired for this, it should instead be done inside the `UrlSerializer.parse` method itself. There's no reason to have an entire feature option built around what can otherwise just be `try...catch`. BREAKING CHANGE: `malformedUriErrorHandler` is no longer available in the `RouterModule.forRoot` options. URL parsing errors should instead be handled in the `UrlSerializer.parse` method. PR Close #51745
Angular
The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.
Usage information and reference details can be found in Angular documentation.
License: MIT