René's URL Explorer Experiment


Title: Parse backend errors that don't throw exceptions. by Nikpolik · Pull Request #2423 · clerk/javascript · GitHub

Open Graph Title: Parse backend errors that don't throw exceptions. by Nikpolik · Pull Request #2423 · clerk/javascript

X Title: Parse backend errors that don't throw exceptions. by Nikpolik · Pull Request #2423 · clerk/javascript

Description: Official JavaScript repository for Clerk authentication - Parse backend errors that don't throw exceptions. by Nikpolik · Pull Request #2423 · clerk/javascript

Open Graph Description: Description This PR fixes an issue where errors returned from backend api requests are not converted to camelCase. Checklist npm test runs as expected. npm run build runs as expected. (If appl...

X Description: Description This PR fixes an issue where errors returned from backend api requests are not converted to camelCase. Checklist npm test runs as expected. npm run build runs as expected. (If appl...

Opengraph URL: https://github.com/clerk/javascript/pull/2423

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:328939f8-1e24-f922-2cc4-a5418dff9457
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9AA8:3969EC:A6C6EB:F0014C:6AFABF2F
html-safe-nonce49bd277787707983111177a81565af880365678940ebcf1ff81de02b1a19c14b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QUE4OjM5NjlFQzpBNkM2RUI6RjAwMTRDOjZBRkFCRjJGIiwidmlzaXRvcl9pZCI6IjU0ODYwODAwOTgyNzQyOTU1OTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac793404fbe890fff0a9ad497a39366040963975693952a809d86738068e9292d0
hovercard-subject-tagpull_request:1652461129
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/clerk/javascript/2423/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ffb5c0e41d1b76292e376d1ed185ad2838f9ebaf6ba50366b6971c118d28eca0/clerk/javascript/pull/2423
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ffb5c0e41d1b76292e376d1ed185ad2838f9ebaf6ba50366b6971c118d28eca0/clerk/javascript/pull/2423
og:image:altDescription This PR fixes an issue where errors returned from backend api requests are not converted to camelCase. Checklist npm test runs as expected. npm run build runs as expected. (If appl...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameNikpolik
hostnamegithub.com
expected-hostnamegithub.com
None612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7
turbo-cache-controlno-cache
go-importgithub.com/clerk/javascript git https://github.com/clerk/javascript.git
octolytics-dimension-user_id49538330
octolytics-dimension-user_loginclerk
octolytics-dimension-repository_id438331492
octolytics-dimension-repository_nwoclerk/javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id438331492
octolytics-dimension-repository_network_root_nwoclerk/javascript
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
release072e34035c13c31543fba9f025cbbbda4210dae4
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/clerk/javascript/pull/2423#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F2423
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%2Fclerk%2Fjavascript%2Fpull%2F2423
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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=clerk%2Fjavascript
Reloadhttps://github.com/clerk/javascript/pull/2423
Reloadhttps://github.com/clerk/javascript/pull/2423
Reloadhttps://github.com/clerk/javascript/pull/2423
clerkhttps://github.com/clerk
javascripthttps://github.com/clerk/javascript
Codehttps://github.com/clerk/javascript
Issues44 (44)https://github.com/clerk/javascript/issues
Pull requests112 (112)https://github.com/clerk/javascript/pulls
Discussionshttps://github.com/clerk/javascript/discussions
Actionshttps://github.com/clerk/javascript/actions
Security and quality6 (6)https://github.com/clerk/javascript/security
Insightshttps://github.com/clerk/javascript/pulse
https://github.com/clerk/javascript
dimklhttps://github.com/dimkl
mainhttps://github.com/clerk/javascript/tree/main
nikpolik/parse-backend-errorshttps://github.com/clerk/javascript/tree/nikpolik/parse-backend-errors
Conversationhttps://github.com/clerk/javascript/pull/2423
Commits1 (1)https://github.com/clerk/javascript/pull/2423/commits
Checkshttps://github.com/clerk/javascript/pull/2423/checks
Files changedhttps://github.com/clerk/javascript/pull/2423/files
Parse backend errors that don't throw exceptions.https://github.com/clerk/javascript/pull/2423#top
dimklhttps://github.com/dimkl
mainhttps://github.com/clerk/javascript/tree/main
nikpolik/parse-backend-errorshttps://github.com/clerk/javascript/tree/nikpolik/parse-backend-errors
https://github.com/Nikpolik
Nikpolikhttps://github.com/Nikpolik
Dec 20, 2023https://github.com/clerk/javascript/pull/2423#issue-2050979471
https://private-user-images.githubusercontent.com/9081019/291968971-e51d4f95-26f0-4538-8fc2-d782ed2895b5.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTQ4MTgxNDAsIm5iZiI6MTc5NDgxNzg0MCwicGF0aCI6Ii85MDgxMDE5LzI5MTk2ODk3MS1lNTFkNGY5NS0yNmYwLTQ1MzgtOGZjMi1kNzgyZWQyODk1YjUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTExNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMTZUMDgzMDQwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MjBhNjJmZWQwOWZjOWIzNTQ2NzBhNTMyNjBiN2NjOTk0Nzc1Y2E1ODA4NTJkZWUyODgzMDUwZGQzNTA2Yzk3MyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.rjzcddEWNQYLvHyRKHUwk872ZgzOvxXLtYFztkOpR34
JSDoc commentshttps://jsdoc.app/about-getting-started.html
Documentationhttps://github.com/clerk/clerk-docs
Please reload this pagehttps://github.com/clerk/javascript/pull/2423
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Dec 20, 2023https://github.com/clerk/javascript/pull/2423#issuecomment-1864860315
Please reload this pagehttps://github.com/clerk/javascript/pull/2423
4a07eachttps://github.com/clerk/javascript/commit/4a07eac0eec06e20dcf9c003a093fb70918d7962
Click here to learn what changesets arehttps://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md
Click here if you're a maintainer who wants to add another changeset to this PRhttps://github.com/clerk/javascript/new/nikpolik/parse-backend-errors?filename=.changeset/real-rabbits-drum.md&value=---%0A%22%40clerk%2Fbackend%22%3A%20patch%0A---%0A%0AParse%20backend%20errors%20that%20don't%20throw%20exceptions.%0A
Please reload this pagehttps://github.com/clerk/javascript/pull/2423
https://github.com/Nikpolik
Nikpolikhttps://github.com/Nikpolik
Dec 20, 2023https://github.com/clerk/javascript/pull/2423#event-11305476806
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
backend https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Abackend
Dec 20, 2023https://github.com/clerk/javascript/pull/2423#event-11305477406
https://github.com/Nikpolik
Nikpolikhttps://github.com/Nikpolik
force-pushedhttps://github.com/clerk/javascript/compare/2c323e947eb595f0c5109f76819a12fd24e07b22..9b2ac6d88f83c83b5f56e49cd7148bc16bf2dd3d
2c323e9https://github.com/clerk/javascript/commit/2c323e947eb595f0c5109f76819a12fd24e07b22
9b2ac6dhttps://github.com/clerk/javascript/commit/9b2ac6d88f83c83b5f56e49cd7148bc16bf2dd3d
Compare https://github.com/clerk/javascript/compare/2c323e947eb595f0c5109f76819a12fd24e07b22..9b2ac6d88f83c83b5f56e49cd7148bc16bf2dd3d
December 20, 2023 18:41https://github.com/clerk/javascript/pull/2423#event-11306213677
https://github.com/dimkl
dimklhttps://github.com/dimkl
Dec 20, 2023https://github.com/clerk/javascript/pull/2423#issuecomment-1865015551
@Nikpolikhttps://github.com/Nikpolik
Please reload this pagehttps://github.com/clerk/javascript/pull/2423
https://github.com/Nikpolik
Nikpolikhttps://github.com/Nikpolik
Dec 20, 2023https://github.com/clerk/javascript/pull/2423#issuecomment-1865038441
Please reload this pagehttps://github.com/clerk/javascript/pull/2423
@Nikpolikhttps://github.com/Nikpolik
https://private-user-images.githubusercontent.com/9081019/291999769-8c0aea5e-3c9c-4122-ab45-35304a038705.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTQ4MTgxNDAsIm5iZiI6MTc5NDgxNzg0MCwicGF0aCI6Ii85MDgxMDE5LzI5MTk5OTc2OS04YzBhZWE1ZS0zYzljLTQxMjItYWI0NS0zNTMwNGEwMzg3MDUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTExNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMTZUMDgzMDQwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OGE2NDczZjg0ZTY4M2U5NWRlYTdiYjNkMDYxYWI3MTA1ZDFjMzgyM2ExZmY5YTFjZTU1OTY0ZjNiYjVmNmQ3NyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.lyRJ-0StAwAKLxc19QnuqNGAFVnhCmbM32xpvWCA7VI
ClerkAPIErrorhttps://github.com/clerk/javascript/blob/nikpolik%2Fparse-backend-errors/packages/types/src/api.ts#L4-L4
return typehttps://github.com/clerk/javascript/blob/nikpolik%2Fparse-backend-errors/packages/backend/src/api/request.ts#L37-L37
Please reload this pagehttps://github.com/clerk/javascript/pull/2423
fix(backend): Parse api errors that don't throw exceptionhttps://github.com/clerk/javascript/pull/2423/commits/4a07eac0eec06e20dcf9c003a093fb70918d7962
4a07eachttps://github.com/clerk/javascript/pull/2423/commits/4a07eac0eec06e20dcf9c003a093fb70918d7962
https://github.com/Nikpolik
Nikpolikhttps://github.com/Nikpolik
force-pushedhttps://github.com/clerk/javascript/compare/9b2ac6d88f83c83b5f56e49cd7148bc16bf2dd3d..4a07eac0eec06e20dcf9c003a093fb70918d7962
9b2ac6dhttps://github.com/clerk/javascript/commit/9b2ac6d88f83c83b5f56e49cd7148bc16bf2dd3d
4a07eachttps://github.com/clerk/javascript/commit/4a07eac0eec06e20dcf9c003a093fb70918d7962
Compare https://github.com/clerk/javascript/compare/9b2ac6d88f83c83b5f56e49cd7148bc16bf2dd3d..4a07eac0eec06e20dcf9c003a093fb70918d7962
December 20, 2023 20:56https://github.com/clerk/javascript/pull/2423#event-11307380884
https://github.com/SokratisVidros
SokratisVidroshttps://github.com/SokratisVidros
Dec 20, 2023 https://github.com/clerk/javascript/pull/2423#pullrequestreview-1791681281
View reviewed changes https://github.com/clerk/javascript/pull/2423/files/4a07eac0eec06e20dcf9c003a093fb70918d7962
https://github.com/dimkl
dimklhttps://github.com/dimkl
Dec 20, 2023 https://github.com/clerk/javascript/pull/2423#pullrequestreview-1791749469
View reviewed changes https://github.com/clerk/javascript/pull/2423/files/4a07eac0eec06e20dcf9c003a093fb70918d7962
https://github.com/dimkl
dimklhttps://github.com/dimkl
Dec 20, 2023https://github.com/clerk/javascript/pull/2423#event-11308047453
bad4de1https://github.com/clerk/javascript/commit/bad4de1a2fd8a3e2643fe26677801166a8305c29
Dec 20, 2023https://github.com/clerk/javascript/pull/2423#event-11308094833
https://github.com/dimkl
dimklhttps://github.com/dimkl
December 20, 2023 22:28https://github.com/clerk/javascript/pull/2423#event-11308094930
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
Dec 20, 2023 https://github.com/clerk/javascript/pull/2423#ref-pullrequest-2048207561
Version Packages (alpha-v5) #2397 https://github.com/clerk/javascript/pull/2397
https://github.co/hiddenchars
https://github.com/clerk/javascript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F2423
https://github.com/SokratisVidros
SokratisVidros https://github.com/SokratisVidros
https://github.com/clerk/javascript/pull/2423/files/4a07eac0eec06e20dcf9c003a093fb70918d7962
https://github.com/dimkl
dimkl https://github.com/dimkl
https://github.com/clerk/javascript/pull/2423/files/4a07eac0eec06e20dcf9c003a093fb70918d7962
Please reload this pagehttps://github.com/clerk/javascript/pull/2423
https://github.com/Nikpolik
Nikpolik https://github.com/Nikpolik
backend https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Abackend
Please reload this pagehttps://github.com/clerk/javascript/pull/2423
https://github.com/Nikpolik
https://github.com/dimkl
https://github.com/SokratisVidros
https://github.com/clerk-cookie
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.