René's URL Explorer Experiment


Title: feat: add errorWithName (upstream v6.1.0 parity) by Unisay · Pull Request #5 · purescript-lua/purescript-lua-exceptions · GitHub

Open Graph Title: feat: add errorWithName (upstream v6.1.0 parity) by Unisay · Pull Request #5 · purescript-lua/purescript-lua-exceptions

X Title: feat: add errorWithName (upstream v6.1.0 parity) by Unisay · Pull Request #5 · purescript-lua/purescript-lua-exceptions

Description: Closes purescript-lua/purescript-lua#269. Upstream purescript-exceptions v6.1.0 exports errorWithName :: String -> String -> Error and the fork did not, so code written against the registry package failed to compile against the fork. One correction to the issue text: upstream takes the message first and the name second (errorWithName(msg)(name) in the JS FFI), not the other way around; the implementation follows upstream. The fork models Error as a plain Lua string, so the name is unobservable through this binding: message returns the supplied message and name keeps answering the constant "Error", the same precedent as errorWithCause's dropped cause (documented in the FFI). An observable-name upgrade of the whole Error representation stays a separate issue, as scoped in the issue text. The inherited upstream Exception.js gains the same export so it keeps matching its upstream counterpart. The regression guard pins message (errorWithName msg name) == msg and the documented name fallback. The whole path is verified: spago build and the pslua link succeed, and the linked module answers message/name as pinned. The commit also adds /dist/ to .gitignore, the same build-artifact gap purescript-lua-console closed in its grouping PR. Follow-up (not in this PR): exceptions fork patch release, then a package-set bump together with the console grouping fix.

Open Graph Description: Closes purescript-lua/purescript-lua#269. Upstream purescript-exceptions v6.1.0 exports errorWithName :: String -> String -> Error and the fork did not, so code written against the registry p...

X Description: Closes purescript-lua/purescript-lua#269. Upstream purescript-exceptions v6.1.0 exports errorWithName :: String -> String -> Error and the fork did not, so code written against the re...

Opengraph URL: https://github.com/purescript-lua/purescript-lua-exceptions/pull/5

X: @github

direct link

Domain: github.com

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:e6786304-e782-0871-8049-01d44f2ca72b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9E02:3F8AB1:9BDE23:CA18FD:6B00DFF5
html-safe-nonce6b4f66f2500c4166af2ec4d1a28c19e81f14462ad0445400c22085d65a74ea0d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTAyOjNGOEFCMTo5QkRFMjM6Q0ExOEZEOjZCMDBERkY1IiwidmlzaXRvcl9pZCI6Ijg0MDc3ODg2NTQ3MDEzNjMwOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb9b2242322096063b865b9a8ee41b81031c96c7d5e56f45c526165161aa0b98a
hovercard-subject-tagpull_request:4050445869
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/purescript-lua/purescript-lua-exceptions/pull/5/files
twitter:imagehttps://avatars.githubusercontent.com/u/1009751?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1009751?s=400&v=4
og:image:altCloses purescript-lua/purescript-lua#269. Upstream purescript-exceptions v6.1.0 exports errorWithName :: String -> String -> Error and the fork did not, so code written against the registry p...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None043c3f30fbcbe2c6c8e729e10cbbbc90c406546f9fbbb67c648d38f6b7d16daf
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/purescript-lua/purescript-lua-exceptions git https://github.com/purescript-lua/purescript-lua-exceptions.git
octolytics-dimension-user_id131581790
octolytics-dimension-user_loginpurescript-lua
octolytics-dimension-repository_id663200390
octolytics-dimension-repository_nwopurescript-lua/purescript-lua-exceptions
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id17921509
octolytics-dimension-repository_parent_nwopurescript/purescript-exceptions
octolytics-dimension-repository_network_root_id17921509
octolytics-dimension-repository_network_root_nwopurescript/purescript-exceptions
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release5425dc24e8bd8d6fca9641a12afc984825a43875
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/purescript-lua/purescript-lua-exceptions/pull/5/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpurescript-lua%2Fpurescript-lua-exceptions%2Fpull%2F5%2Ffiles
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%2Fpurescript-lua%2Fpurescript-lua-exceptions%2Fpull%2F5%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=purescript-lua%2Fpurescript-lua-exceptions
Reloadhttps://github.com/purescript-lua/purescript-lua-exceptions/pull/5/files
Reloadhttps://github.com/purescript-lua/purescript-lua-exceptions/pull/5/files
Reloadhttps://github.com/purescript-lua/purescript-lua-exceptions/pull/5/files
purescript-luahttps://github.com/purescript-lua
purescript-lua-exceptionshttps://github.com/purescript-lua/purescript-lua-exceptions
Codehttps://github.com/purescript-lua/purescript-lua-exceptions
Pull requestshttps://github.com/purescript-lua/purescript-lua-exceptions/pulls
Actionshttps://github.com/purescript-lua/purescript-lua-exceptions/actions
Projectshttps://github.com/purescript-lua/purescript-lua-exceptions/projects
Security and qualityhttps://github.com/purescript-lua/purescript-lua-exceptions/security
Insightshttps://github.com/purescript-lua/purescript-lua-exceptions/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fpurescript-lua%2Fpurescript-lua-exceptions%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpurescript-lua%2Fpurescript-lua-exceptions%2Fissues%2Fnew%2Fchoose
Unisayhttps://github.com/Unisay
masterhttps://github.com/purescript-lua/purescript-lua-exceptions/tree/master
yura/issue-269-fork-ffi-exceptions-errorwithnamehttps://github.com/purescript-lua/purescript-lua-exceptions/tree/yura/issue-269-fork-ffi-exceptions-errorwithname
Conversation 1 https://github.com/purescript-lua/purescript-lua-exceptions/pull/5
Commits 1 https://github.com/purescript-lua/purescript-lua-exceptions/pull/5/commits
Checks 1 https://github.com/purescript-lua/purescript-lua-exceptions/pull/5/checks
Files changed https://github.com/purescript-lua/purescript-lua-exceptions/pull/5/files
Please reload this pagehttps://github.com/purescript-lua/purescript-lua-exceptions/pull/5/files
feat: add errorWithName (upstream v6.1.0 parity) https://github.com/purescript-lua/purescript-lua-exceptions/pull/5/files#top
Show all changes 1 commit https://github.com/purescript-lua/purescript-lua-exceptions/pull/5/files
83962d7 feat: add errorWithName (upstream v6.1.0 parity) Unisay Jul 14, 2026 https://github.com/purescript-lua/purescript-lua-exceptions/pull/5/commits/83962d766343954e6f65f76ef3a1c9ffdf8746f2
Clear filters https://github.com/purescript-lua/purescript-lua-exceptions/pull/5/files
Please reload this pagehttps://github.com/purescript-lua/purescript-lua-exceptions/pull/5/files
Please reload this pagehttps://github.com/purescript-lua/purescript-lua-exceptions/pull/5/files
.gitignore https://github.com/purescript-lua/purescript-lua-exceptions/pull/5/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947
20260714_090000_yura_errorwithname.md https://github.com/purescript-lua/purescript-lua-exceptions/pull/5/files#diff-e4858cb3f9a9e5fe7571803396ec5ec94bb9d8e28fa26df043523bd72ba3103f
Exception.js https://github.com/purescript-lua/purescript-lua-exceptions/pull/5/files#diff-63227aaf53e17070c1873a8bc1ff155b89587aad600347521d805457d41caf82
Exception.lua https://github.com/purescript-lua/purescript-lua-exceptions/pull/5/files#diff-db37bb793847be14740c910deba87b1fa8b7549c86a3712559fb3d53e49afb05
Exception.purs https://github.com/purescript-lua/purescript-lua-exceptions/pull/5/files#diff-f3bb84bd680f91dcf1c5a3dacbe4f4dd8601bfd167886f3a620234dc38438684
exception.lua https://github.com/purescript-lua/purescript-lua-exceptions/pull/5/files#diff-834d5ec11249f7e9bed575b0067602e8a5a36350abaa583fcef2dd1507a37a19
.gitignorehttps://github.com/purescript-lua/purescript-lua-exceptions/pull/5/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947
View file https://github.com/purescript-lua/purescript-lua-exceptions/blob/83962d766343954e6f65f76ef3a1c9ffdf8746f2/.gitignore
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/purescript-lua/purescript-lua-exceptions/pull/5/{{ revealButtonHref }}
https://github.com/purescript-lua/purescript-lua-exceptions/pull/5/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947
changelog.d/20260714_090000_yura_errorwithname.mdhttps://github.com/purescript-lua/purescript-lua-exceptions/pull/5/files#diff-e4858cb3f9a9e5fe7571803396ec5ec94bb9d8e28fa26df043523bd72ba3103f
View file https://github.com/purescript-lua/purescript-lua-exceptions/blob/83962d766343954e6f65f76ef3a1c9ffdf8746f2/changelog.d/20260714_090000_yura_errorwithname.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/purescript-lua/purescript-lua-exceptions/pull/5/{{ revealButtonHref }}
src/Effect/Exception.jshttps://github.com/purescript-lua/purescript-lua-exceptions/pull/5/files#diff-63227aaf53e17070c1873a8bc1ff155b89587aad600347521d805457d41caf82
View file https://github.com/purescript-lua/purescript-lua-exceptions/blob/83962d766343954e6f65f76ef3a1c9ffdf8746f2/src/Effect/Exception.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/purescript-lua/purescript-lua-exceptions/pull/5/{{ revealButtonHref }}
https://github.com/purescript-lua/purescript-lua-exceptions/pull/5/files#diff-63227aaf53e17070c1873a8bc1ff155b89587aad600347521d805457d41caf82
https://github.com/purescript-lua/purescript-lua-exceptions/pull/5/files#diff-63227aaf53e17070c1873a8bc1ff155b89587aad600347521d805457d41caf82
src/Effect/Exception.luahttps://github.com/purescript-lua/purescript-lua-exceptions/pull/5/files#diff-db37bb793847be14740c910deba87b1fa8b7549c86a3712559fb3d53e49afb05
View file https://github.com/purescript-lua/purescript-lua-exceptions/blob/83962d766343954e6f65f76ef3a1c9ffdf8746f2/src/Effect/Exception.lua
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/purescript-lua/purescript-lua-exceptions/pull/5/{{ revealButtonHref }}
https://github.com/purescript-lua/purescript-lua-exceptions/pull/5/files#diff-db37bb793847be14740c910deba87b1fa8b7549c86a3712559fb3d53e49afb05
https://github.com/purescript-lua/purescript-lua-exceptions/pull/5/files#diff-db37bb793847be14740c910deba87b1fa8b7549c86a3712559fb3d53e49afb05
src/Effect/Exception.purshttps://github.com/purescript-lua/purescript-lua-exceptions/pull/5/files#diff-f3bb84bd680f91dcf1c5a3dacbe4f4dd8601bfd167886f3a620234dc38438684
View file https://github.com/purescript-lua/purescript-lua-exceptions/blob/83962d766343954e6f65f76ef3a1c9ffdf8746f2/src/Effect/Exception.purs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/purescript-lua/purescript-lua-exceptions/pull/5/{{ revealButtonHref }}
https://github.com/purescript-lua/purescript-lua-exceptions/pull/5/files#diff-f3bb84bd680f91dcf1c5a3dacbe4f4dd8601bfd167886f3a620234dc38438684
https://github.com/purescript-lua/purescript-lua-exceptions/pull/5/files#diff-f3bb84bd680f91dcf1c5a3dacbe4f4dd8601bfd167886f3a620234dc38438684
https://github.com/purescript-lua/purescript-lua-exceptions/pull/5/files#diff-f3bb84bd680f91dcf1c5a3dacbe4f4dd8601bfd167886f3a620234dc38438684
https://github.com/purescript-lua/purescript-lua-exceptions/pull/5/files#diff-f3bb84bd680f91dcf1c5a3dacbe4f4dd8601bfd167886f3a620234dc38438684
test/regression/exception.luahttps://github.com/purescript-lua/purescript-lua-exceptions/pull/5/files#diff-834d5ec11249f7e9bed575b0067602e8a5a36350abaa583fcef2dd1507a37a19
View file https://github.com/purescript-lua/purescript-lua-exceptions/blob/83962d766343954e6f65f76ef3a1c9ffdf8746f2/test/regression/exception.lua
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/purescript-lua/purescript-lua-exceptions/pull/5/{{ revealButtonHref }}
https://github.com/purescript-lua/purescript-lua-exceptions/pull/5/files#diff-834d5ec11249f7e9bed575b0067602e8a5a36350abaa583fcef2dd1507a37a19
https://github.com/purescript-lua/purescript-lua-exceptions/pull/5/files#diff-834d5ec11249f7e9bed575b0067602e8a5a36350abaa583fcef2dd1507a37a19
https://github.com/purescript-lua/purescript-lua-exceptions/pull/5/files#diff-834d5ec11249f7e9bed575b0067602e8a5a36350abaa583fcef2dd1507a37a19
https://github.com/purescript-lua/purescript-lua-exceptions/pull/5/files#diff-834d5ec11249f7e9bed575b0067602e8a5a36350abaa583fcef2dd1507a37a19
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.