| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:b05961fb-0301-96ed-9839-5184fd631b14 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8C5C:2360CE:7ADA77:B03AF8:6AFADC66 |
| html-safe-nonce | 242d6dc4a2009b65e12b54d9a10bdbc69b2c1524dd643abbb7547c0fa3f1cdd5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzVDOjIzNjBDRTo3QURBNzc6QjAzQUY4OjZBRkFEQzY2IiwidmlzaXRvcl9pZCI6IjI4NzIxMTA1MjYwMTgyODA1NTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c60e4872140360982e74a46713a69a5ef0195279840e08512f1c9a4809ac3185 |
| hovercard-subject-tag | pull_request:2989412329 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/clerk/javascript/7177/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/925f1893f11b4baa7bff90b8965dfccb034cf9b1d8bfe824698aff59b008264e/clerk/javascript/pull/7177 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/925f1893f11b4baa7bff90b8965dfccb034cf9b1d8bfe824698aff59b008264e/clerk/javascript/pull/7177 |
| og:image:alt | Description
This PR replaces error: unknown with error: ClerkError to provide types to errors returned by our new hooks.
Checklist
pnpm test runs as expected.
pnpm build runs as expected.
(If a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dstaley |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9d9bd51a568909a83d1abb9d6f74d68f0c87ca85fe3a56d3f5d70d8b89add9f2 |
| turbo-cache-control | no-cache |
| go-import | github.com/clerk/javascript git https://github.com/clerk/javascript.git |
| octolytics-dimension-user_id | 49538330 |
| octolytics-dimension-user_login | clerk |
| octolytics-dimension-repository_id | 438331492 |
| octolytics-dimension-repository_nwo | clerk/javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 438331492 |
| octolytics-dimension-repository_network_root_nwo | clerk/javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4a7ae932999cc6d511008dbf980ff9efad2a31f7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/clerk/javascript/pull/7177#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F7177 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F7177 |
| Sign up | https://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 |
| Reload | https://github.com/clerk/javascript/pull/7177 |
| Reload | https://github.com/clerk/javascript/pull/7177 |
| Reload | https://github.com/clerk/javascript/pull/7177 |
| clerk | https://github.com/clerk |
| javascript | https://github.com/clerk/javascript |
| Code | https://github.com/clerk/javascript |
| Issues44 (44) | https://github.com/clerk/javascript/issues |
| Pull requests112 (112) | https://github.com/clerk/javascript/pulls |
| Discussions | https://github.com/clerk/javascript/discussions |
| Actions | https://github.com/clerk/javascript/actions |
| Security and quality6 (6) | https://github.com/clerk/javascript/security |
| Insights | https://github.com/clerk/javascript/pulse |
| https://github.com/clerk/javascript |
| dstaley | https://github.com/dstaley |
| nikos/userland-errors-p5 | https://github.com/clerk/javascript/tree/nikos/userland-errors-p5 |
| ds.fix/unbundle-shared | https://github.com/clerk/javascript/tree/ds.fix/unbundle-shared |
| Conversation | https://github.com/clerk/javascript/pull/7177 |
| Commits6 (6) | https://github.com/clerk/javascript/pull/7177/commits |
| Checks | https://github.com/clerk/javascript/pull/7177/checks |
| Files changed | https://github.com/clerk/javascript/pull/7177/files |
| fix(clerk-js,shared): Replace unknown with ClerkError | https://github.com/clerk/javascript/pull/7177#top |
| dstaley | https://github.com/dstaley |
| nikos/userland-errors-p5 | https://github.com/clerk/javascript/tree/nikos/userland-errors-p5 |
| ds.fix/unbundle-shared | https://github.com/clerk/javascript/tree/ds.fix/unbundle-shared |
|
| https://github.com/dstaley |
| dstaley | https://github.com/dstaley |
| Nov 7, 2025 | https://github.com/clerk/javascript/pull/7177#issue-3601210220 |
| Please reload this page | https://github.com/clerk/javascript/pull/7177 |
| JSDoc comments | https://jsdoc.app/about-getting-started.html |
| Documentation | https://github.com/clerk/clerk-docs |
| Please reload this page | https://github.com/clerk/javascript/pull/7177 |
| dstaley | https://github.com/dstaley |
| November 7, 2025 11:01 | https://github.com/clerk/javascript/pull/7177#commits-pushed-ea8868f |
|
| https://github.com/dstaley |
| fix(clerk-js,shared): Replace unknown with ClerkError | https://github.com/clerk/javascript/pull/7177/commits/ea8868f627acfecb9c1f463955aaf2d78f47c4fa |
| ea8868f | https://github.com/clerk/javascript/pull/7177/commits/ea8868f627acfecb9c1f463955aaf2d78f47c4fa |
|
| https://github.com/dstaley |
| fix(shared): Unbundle | https://github.com/clerk/javascript/pull/7177/commits/0b0e6e201c887666ca28ec523768cfe114ecb826 |
| 0b0e6e2 | https://github.com/clerk/javascript/pull/7177/commits/0b0e6e201c887666ca28ec523768cfe114ecb826 |
| https://github.com/apps/changeset-bot |
| changeset-bot | https://github.com/apps/changeset-bot |
| Nov 7, 2025 | https://github.com/clerk/javascript/pull/7177#issuecomment-3503696955 |
| Please reload this page | https://github.com/clerk/javascript/pull/7177 |
| c015db7 | https://github.com/clerk/javascript/commit/c015db7972cf3e6009af7713a7c7ae554be87d0c |
| Click here to learn what changesets are, and how to add one | https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md |
| Click here if you're a maintainer who wants to add a changeset to this PR | https://github.com/clerk/javascript/new/ds.fix/unbundle-shared?filename=.changeset/large-flies-impress.md&value=---%0A%22%40clerk%2Fclerk-js%22%3A%20patch%0A%22%40clerk%2Fshared%22%3A%20patch%0A---%0A%0Afix(clerk-js%2Cshared)%3A%20Replace%20unknown%20with%20ClerkError%0A |
| Please reload this page | https://github.com/clerk/javascript/pull/7177 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| Nov 7, 2025 | https://github.com/clerk/javascript/pull/7177#issuecomment-3503697201 |
| Please reload this page | https://github.com/clerk/javascript/pull/7177 |
| Vercel for GitHub | https://vercel.link/github-learn-more |
| clerk-js-sandbox | https://vercel.com/clerk-production/clerk-js-sandbox |
| https://camo.githubusercontent.com/833ba95642364322d56bfc6cc95692affdd7a5a6ca7b50fdcc44aa7e47372d3b/68747470733a2f2f76657263656c2e636f6d2f7374617469632f7374617475732f72656164792e737667 |
| Ready | https://vercel.com/clerk-production/clerk-js-sandbox/2aCfN9nbcM9Bif3vMDTV6nH5WbbX |
| Preview | https://clerk-js-sandbox-git-dsfix-unbundle-shared.clerkstage.dev |
| Comment | https://vercel.live/open-feedback/clerk-js-sandbox-git-dsfix-unbundle-shared.clerkstage.dev?via=pr-comment-feedback-link |
| Please reload this page | https://github.com/clerk/javascript/pull/7177 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
| Nov 7, 2025 | https://github.com/clerk/javascript/pull/7177#issuecomment-3503697825 |
| Please reload this page | https://github.com/clerk/javascript/pull/7177 |
| https://github.com/clerk-cookie |
| clerk-cookie | https://github.com/clerk-cookie |
|
clerk-js
| https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Aclerk-js |
| Nov 7, 2025 | https://github.com/clerk/javascript/pull/7177#event-20793183964 |
| nikosdouvlis | https://github.com/nikosdouvlis |
| November 7, 2025 20:10 | https://github.com/clerk/javascript/pull/7177#commits-pushed-aa5a7ca |
|
| https://github.com/nikosdouvlis |
| Revert "fix(shared): Unbundle" | https://github.com/clerk/javascript/pull/7177/commits/aa5a7ca7c0258cee001aad07848598ca9bcce282 |
| aa5a7ca | https://github.com/clerk/javascript/pull/7177/commits/aa5a7ca7c0258cee001aad07848598ca9bcce282 |
| 0b0e6e2 | https://github.com/clerk/javascript/commit/0b0e6e201c887666ca28ec523768cfe114ecb826 |
|
| https://github.com/nikosdouvlis |
| fix(shared): Inline private parseJsonError in ClerkApiError | https://github.com/clerk/javascript/pull/7177/commits/a75f30cfcadc824064660e352be1008a4dcfffaa |
| a75f30c | https://github.com/clerk/javascript/pull/7177/commits/a75f30cfcadc824064660e352be1008a4dcfffaa |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-2c30hqn4y.clerkstage.dev |
| Preview | https://clerk-js-sandbox-2c30hqn4y.clerkstage.dev |
| November 7, 2025 18:56 | https://github.com/clerk/javascript/pull/7177#event-20795720749 |
| View deployment | https://clerk-js-sandbox-2c30hqn4y.clerkstage.dev |
| dstaley | https://github.com/dstaley |
| November 7, 2025 13:15 | https://github.com/clerk/javascript/pull/7177#commits-pushed-7225564 |
|
| https://github.com/dstaley |
| fix(shared): Fix import of ClerkError | https://github.com/clerk/javascript/pull/7177/commits/72255646dd26162bddc8b11616bb15718eebf4a6 |
| 7225564 | https://github.com/clerk/javascript/pull/7177/commits/72255646dd26162bddc8b11616bb15718eebf4a6 |
|
| https://github.com/dstaley |
| fix(clerk-js): Treat an API response as either fields or global | https://github.com/clerk/javascript/pull/7177/commits/c015db7972cf3e6009af7713a7c7ae554be87d0c |
| c015db7 | https://github.com/clerk/javascript/pull/7177/commits/c015db7972cf3e6009af7713a7c7ae554be87d0c |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-hmzenq022.clerkstage.dev |
| Preview | https://clerk-js-sandbox-hmzenq022.clerkstage.dev |
| November 7, 2025 19:17 | https://github.com/clerk/javascript/pull/7177#event-20796262407 |
| View deployment | https://clerk-js-sandbox-hmzenq022.clerkstage.dev |
| https://github.com/brkalow |
| brkalow | https://github.com/brkalow |
|
Nov 7, 2025
| https://github.com/clerk/javascript/pull/7177#pullrequestreview-3436062615 |
|
View reviewed changes
| https://github.com/clerk/javascript/pull/7177/files/c015db7972cf3e6009af7713a7c7ae554be87d0c |
| https://github.com/dstaley |
| dstaley | https://github.com/dstaley |
| 25126a6 | https://github.com/clerk/javascript/commit/25126a6a3fa658db8db2ffa6800cca10bf2ca49d |
| Nov 7, 2025 | https://github.com/clerk/javascript/pull/7177#event-20797138280 |
| Please reload this page | https://github.com/clerk/javascript/pull/7177 |
| https://github.com/dstaley |
| dstaley | https://github.com/dstaley |
| November 7, 2025 20:00 | https://github.com/clerk/javascript/pull/7177#event-20797138617 |
| Deployed | https://clerk-js-sandbox-hmzenq022.clerkstage.dev |
| vercel[bot] | https://github.com/apps/vercel |
|
View deployment
| https://clerk-js-sandbox-hmzenq022.clerkstage.dev |
| https://github.co/hiddenchars |
| https://github.com/clerk/javascript/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F7177 |
|
| https://github.com/brkalow |
|
brkalow
| https://github.com/brkalow |
|
| https://github.com/clerk/javascript/pull/7177/files/c015db7972cf3e6009af7713a7c7ae554be87d0c |
| Please reload this page | https://github.com/clerk/javascript/pull/7177 |
|
clerk-js
| https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Aclerk-js |
| Please reload this page | https://github.com/clerk/javascript/pull/7177 |
|
| https://github.com/dstaley |
|
| https://github.com/brkalow |
|
| https://github.com/clerk-cookie |
|
| https://github.com/nikosdouvlis |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |