Skip to content

refactor(common): expose pipe value in NG02100 prod error message#68867

Open
arturovt wants to merge 1 commit into
angular:mainfrom
arturovt:refactor/invalid_pipe_argument
Open

refactor(common): expose pipe value in NG02100 prod error message#68867
arturovt wants to merge 1 commit into
angular:mainfrom
arturovt:refactor/invalid_pipe_argument

Conversation

@arturovt
Copy link
Copy Markdown
Contributor

Previously, when a pipe received an invalid argument in production mode, the error only included the generic NG02100 code with no additional context:

NG02100
at k(chunk-RA6D4DUG.js:1:34104)
at e.transform(chunk-RA6D4DUG.js:1:36562)
...

This change includes the invalid value in the production error message (for example NG02100: someValue), making these failures much easier to diagnose in real-world builds. The full verbose error message remains available only in development mode.

@pullapprove pullapprove Bot requested a review from crisbeto May 21, 2026 18:38
@angular-robot angular-robot Bot added the area: common Issues related to APIs in the @angular/common package label May 21, 2026
@ngbot ngbot Bot added this to the Backlog milestone May 21, 2026
Previously, when a pipe received an invalid argument in production mode, the error only included the generic `NG02100` code with no additional context:

```text
NG02100
at k(chunk-RA6D4DUG.js:1:34104)
at e.transform(chunk-RA6D4DUG.js:1:36562)
...
```

This change includes the invalid value in the production error message (for example `NG02100: someValue`), making these failures much easier to diagnose in real-world builds. The full verbose error message remains available only in development mode.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: common Issues related to APIs in the @angular/common package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant