René's URL Explorer Experiment


Title: Wrong error type in httpclient doc · Issue #34748 · angular/angular · GitHub

Open Graph Title: Wrong error type in httpclient doc · Issue #34748 · angular/angular

X Title: Wrong error type in httpclient doc · Issue #34748 · angular/angular

Description: 📚 Docs or angular.io bug report Description A type was changed in a recent commit in angular which is not yet represented in the docs. What's the affected URL?** https://angular.io/guide/http#getting-error-details Reproduction Steps** In...

Open Graph Description: 📚 Docs or angular.io bug report Description A type was changed in a recent commit in angular which is not yet represented in the docs. What's the affected URL?** https://angular.io/guide/http#getti...

X Description: 📚 Docs or angular.io bug report Description A type was changed in a recent commit in angular which is not yet represented in the docs. What's the affected URL?** https://angular.io/guide/http#g...

Opengraph URL: https://github.com/angular/angular/issues/34748

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Wrong error type in httpclient doc","articleBody":"# 📚 Docs or angular.io bug report\r\n\r\n### Description\r\nA type was changed in a recent commit in angular which is not yet represented in the docs.\r\n\r\n### What's the affected URL?**\r\nhttps://angular.io/guide/http#getting-error-details\r\n\r\n### Reproduction Steps**\r\nIn the code snippet app/config/config.service.ts there is this line:\r\n\r\n`if (error.error instanceof ErrorEvent) `\r\n\r\nIn case of a network error (or similar like a CORS error) the error property of the HttpErrorResponse  is should be according to the docs an ErrorEvent. But in my tests always seems to be a ProgressEvent.\r\n\r\nIn this recent commit \r\nhttps://github.com/angular/angular/commit/0139b11227fdd93983a8c6bd870d579d798fa244#diff-26683cfb34fa97883213282055aef1e7\r\nin the file\r\npackages/common/http/src/xhr.ts\r\nthe type of the error property of the returned HttpErrorResponse was changed from ErrorEvent to ProgressEvent.\r\n\r\nUnfortunately unlike ErrorEvent the ProgressEvent has no message property. It is only usable as a indicator for a network error. The message property of the HttpErrorResponse itself has to be queried to retrieve a human readable error message.\r\n\r\nThe behaviour can be tested in\r\nhttps://stackblitz.com/edit/error-handling-httpclient?file=src%2Fapp%2Fuser.service.ts\r\n\r\nI am using Angular 8.2.14","author":{"url":"https://github.com/AlexNedo","@type":"Person","name":"AlexNedo"},"datePublished":"2020-01-12T19:31:29Z","url":"https://github.com/angular/angular/issues/34748"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:1dccc568-1157-62b7-af34-37673d465723
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD512:ADA9D:1817018:1EF65F5:6B0130F9
html-safe-nonce051e8862f7c6f3ad69e8d2425c5606c60b2a4a9cf9f404a2dab197e191c8cd8a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTEyOkFEQTlEOjE4MTcwMTg6MUVGNjVGNTo2QjAxMzBGOSIsInZpc2l0b3JfaWQiOiIzNTI1ODQ4ODA4MTA3ODgwNjk3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac181e4d429cf06e1b2cf67b9f2acea285c107aa7738c6abdbcddb54251e680a4c
hovercard-subject-tagissue:548615703
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/34748/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d4043d5831a7b383f0e04bc8fc879ba5066b5d278d1053a6036049e8fef3438c/angular/angular/issues/34748
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d4043d5831a7b383f0e04bc8fc879ba5066b5d278d1053a6036049e8fef3438c/angular/angular/issues/34748
og:image:alt📚 Docs or angular.io bug report Description A type was changed in a recent commit in angular which is not yet represented in the docs. What's the affected URL?** https://angular.io/guide/http#getti...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAlexNedo
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/angular/angular git https://github.com/angular/angular.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id24195339
octolytics-dimension-repository_nwoangular/angular
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24195339
octolytics-dimension-repository_network_root_nwoangular/angular
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular/issues/34748#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F34748
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F34748
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=angular%2Fangular
Reloadhttps://github.com/angular/angular/issues/34748
Reloadhttps://github.com/angular/angular/issues/34748
Reloadhttps://github.com/angular/angular/issues/34748
angularhttps://github.com/angular
angularhttps://github.com/angular/angular
Codehttps://github.com/angular/angular
Issues836 (836)https://github.com/angular/angular/issues
Pull requests141 (141)https://github.com/angular/angular/pulls
Discussionshttps://github.com/angular/angular/discussions
Actionshttps://github.com/angular/angular/actions
Projectshttps://github.com/angular/angular/projects
Security and quality40 (40)https://github.com/angular/angular/security
Insightshttps://github.com/angular/angular/insights
https://github.com/angular/angular
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/34748
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/34748
Wrong error type in httpclient dochttps://github.com/angular/angular/issues/34748#top
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenthttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22P3%22
freq2: mediumhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22freq2%3A%20medium%22
state: has PRhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20has%20PR%22
type: bug/fixhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
Backloghttps://github.com/angular/angular/milestone/82
https://github.com/AlexNedo
AlexNedohttps://github.com/AlexNedo
on Jan 12, 2020https://github.com/angular/angular/issues/34748#issue-548615703
https://angular.io/guide/http#getting-error-detailshttps://angular.io/guide/http#getting-error-details
0139b11#diff-26683cfb34fa97883213282055aef1e7https://github.com/angular/angular/commit/0139b11227fdd93983a8c6bd870d579d798fa244#diff-26683cfb34fa97883213282055aef1e7
https://stackblitz.com/edit/error-handling-httpclient?file=src%2Fapp%2Fuser.service.tshttps://stackblitz.com/edit/error-handling-httpclient?file=src%2Fapp%2Fuser.service.ts
Nexthttps://github.com/angular/angular/issues/34748?timeline_page=1
pkozlowski-opensourcehttps://github.com/pkozlowski-opensource
comp: docshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22comp%3A%20docs%22
on Jan 13, 2020https://github.com/angular/angular/issues/34748#event-2942493885
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular/milestone/83
on Jan 13, 2020https://github.com/angular/angular/issues/34748#event-2942493974
kapunahelewonghttps://github.com/kapunahelewong
freq2: mediumhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22freq2%3A%20medium%22
severity3: brokenhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22severity3%3A%20broken%22
type: bug/fixhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
on Jan 13, 2020https://github.com/angular/angular/issues/34748#event-2944121569
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular/milestone/83
Backloghttps://github.com/angular/angular/milestone/82
on Jan 13, 2020https://github.com/angular/angular/issues/34748#event-2944121625
kapunahelewonghttps://github.com/kapunahelewong
state: needs eng inputhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20needs%20eng%20input%22
on Jan 13, 2020https://github.com/angular/angular/issues/34748#event-2944122694
https://github.com/devversion
devversionhttps://github.com/devversion
on Mar 16, 2020https://github.com/angular/angular/issues/34748#issuecomment-599474151
0139b11https://github.com/angular/angular/commit/0139b11227fdd93983a8c6bd870d579d798fa244
https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/error_eventhttps://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/error_event
this guidehttps://angular.io/guide/http#getting-error-details
https://stackoverflow.com/questions/51451508/why-is-a-progressevent-object-passed-to-a-javascript-ajax-error-event-handlerhttps://stackoverflow.com/questions/51451508/why-is-a-progressevent-object-passed-to-a-javascript-ajax-error-event-handler
jelbournhttps://github.com/jelbourn
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenthttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22P3%22
severity3: brokenhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22severity3%3A%20broken%22
on Oct 1, 2020https://github.com/angular/angular/issues/34748#event-3830234318
jessicajaniukhttps://github.com/jessicajaniuk
on Nov 19, 2021https://github.com/angular/angular/issues/34748#event-5647404384
fix(common): incorrect error type for XHR errors in `TestRequest`https://github.com/devversion/angular/commit/9598e7cc5454ab83d5a2d15c190811263a33a749
9598e7chttps://github.com/devversion/angular/commit/9598e7cc5454ab83d5a2d15c190811263a33a749
fix(common): incorrect error type for XHR errors in `TestRequest` (#3…https://github.com/angular/angular/commit/489cf42cd07ac2b549ea958127590b30f1b3d28f
#3…https://github.com/angular/angular/pull/36082
489cf42https://github.com/angular/angular/commit/489cf42cd07ac2b549ea958127590b30f1b3d28f
https://github.com/HarelM
HarelMhttps://github.com/HarelM
on Dec 9, 2021https://github.com/angular/angular/issues/34748#issuecomment-989752137
https://user-images.githubusercontent.com/3269297/145385406-d7c92bff-7788-40c1-b9e7-3bb24810896d.png
https://github.com/cexbrayat
cexbrayathttps://github.com/cexbrayat
on Dec 13, 2021https://github.com/angular/angular/issues/34748#issuecomment-992243723
@devversionhttps://github.com/devversion
#36082https://github.com/angular/angular/pull/36082
devversionhttps://github.com/devversion
completedhttps://github.com/angular/angular/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Dec 13, 2021https://github.com/angular/angular/issues/34748#event-5756329076
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Jan 13, 2022https://github.com/angular/angular/issues/34748#issuecomment-1012282715
automatic conversation locking policyhttps://github.com/angular/angular/blob/8f24bc9443b3872fe095d9f7f77b308a361a13b4/docs/GITHUB_PROCESS.md#conversation-locking
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Jan 13, 2022https://github.com/angular/angular/issues/34748#event-5888714780
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular/issues/34748
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular/issues/34748
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenthttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22P3%22
freq2: mediumhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22freq2%3A%20medium%22
state: has PRhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20has%20PR%22
type: bug/fixhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
BacklogNo due datehttps://github.com/angular/angular/milestone/82
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.