mirror of
https://github.com/angular/angular.git
synced 2026-11-29 18:07:51 -05:00
This PR performs a small refactoring to use `RuntimeError` class and corresponding error code (by calling `throwProviderNotFoundError` which formats the message) to make it more consistent with other places where similar errors are thrown. PR Close #40901