Skip to content

fix(zone.js): classes that extend Error should retain cause property#61599

Closed
atscott wants to merge 1 commit intoangular:mainfrom
atscott:errorRewriteCause
Closed

fix(zone.js): classes that extend Error should retain cause property#61599
atscott wants to merge 1 commit intoangular:mainfrom
atscott:errorRewriteCause

Conversation

@atscott
Copy link
Copy Markdown
Contributor

@atscott atscott commented May 21, 2025

ZoneAwareError previously did not copy the cause property over to the this object when an error extends the native error class.

ZoneAwareError previously did not copy the cause property over to the
`this` object when an error extends the native error class.
@pullapprove pullapprove Bot requested a review from JiaLiPassion May 21, 2025 23:50
@angular-robot angular-robot Bot added the area: zones Issues related to zone.js label May 21, 2025
@ngbot ngbot Bot added this to the Backlog milestone May 21, 2025
@atscott atscott added target: patch This PR is targeted for the next patch release action: merge The PR is ready for merge by the caretaker labels May 22, 2025
@atscott
Copy link
Copy Markdown
Contributor Author

atscott commented May 22, 2025

This PR was merged into the repository by commit ad8931c.

The changes were merged into the following branches: main, 19.2.x, 20.0.x

@atscott atscott closed this in ad8931c May 22, 2025
atscott added a commit that referenced this pull request May 22, 2025
…61599)

ZoneAwareError previously did not copy the cause property over to the
`this` object when an error extends the native error class.

PR Close #61599
atscott added a commit that referenced this pull request May 22, 2025
…61599)

ZoneAwareError previously did not copy the cause property over to the
`this` object when an error extends the native error class.

PR Close #61599
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Jun 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: zones Issues related to zone.js target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants