X Tutup
The Wayback Machine - https://web.archive.org/web/20220105000650/https://github.com/angular/angular/issues/42957
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose NGxxxx errors through the global ErrorHandler #42957

Open
bampakoa opened this issue Jul 25, 2021 · 3 comments
Open

Expose NGxxxx errors through the global ErrorHandler #42957

bampakoa opened this issue Jul 25, 2021 · 3 comments

Comments

@bampakoa
Copy link
Contributor

@bampakoa bampakoa commented Jul 25, 2021

Which @angular/* package(s) are relevant/releated to the feature request?

No response

Description

The framework includes an error reporting mechanism that reports errors through the console window of the browser or the debug window of the IDE. The list of possible errors can be found at https://angular.io/errors/.

It would be great if we could have the option of reporting those errors directly inside an Angular application.

Proposed solution

Optionally, expose NGxxxx errors through the global error handler of the framework that is available at https://angular.io/api/core/ErrorHandler so that:

  • It improves the developer experience when it comes to detecting framework errors
  • It will open new possibilities for the integration of error reporting mechanisms in IDEs

Alternatives considered

N/A

@angular-robot
Copy link

@angular-robot angular-robot bot commented Jul 26, 2021

This feature request is now candidate for our backlog! In the next phase, the community has 60 days to upvote. If the request receives more than 20 upvotes, we'll move it to our consideration list.

You can find more details about the feature request process in our documentation.

@ngbot ngbot bot added this to the Backlog milestone Jul 26, 2021
@ngbot ngbot bot added this to the Backlog milestone Jul 26, 2021
@angular-robot
Copy link

@angular-robot angular-robot bot commented Sep 3, 2021

Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.

Find more details about Angular's feature request process in our documentation.

@angular-robot
Copy link

@angular-robot angular-robot bot commented Sep 23, 2021

Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.

We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.

You can find more details about the feature request process in our documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
X Tutup