René's URL Explorer Experiment


Title: Error handling improvements by calavera · Pull Request #907 · aws/aws-lambda-rust-runtime · GitHub

Open Graph Title: Error handling improvements by calavera · Pull Request #907 · aws/aws-lambda-rust-runtime

X Title: Error handling improvements by calavera · Pull Request #907 · aws/aws-lambda-rust-runtime

Description: 📬 Issue #, if available: Fixes #901 ✍️ Description of changes: Change how we handle error types to be more ergonomic: Replace Cow with String: Diagnostics are serialized into JSON as soon as the ...

Open Graph Description: 📬 Issue #, if available: Fixes #901 ✍️ Description of changes: Change how we handle error types to be more ergonomic: Replace Cow with String: Diagnostics are serialized into JSON as soon as the ...

X Description: 📬 Issue #, if available: Fixes #901 ✍️ Description of changes: Change how we handle error types to be more ergonomic: Replace Cow with String: Diagnostics are serialized into JSON as soon as the ...

Opengraph URL: https://github.com/aws/aws-lambda-rust-runtime/pull/907

X: @github

direct link

Domain: github.com

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:4d662544-07b8-f1e4-cb11-cbbb5609c400
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBD04:C3013:4904CD0:6144973:698BBB38
html-safe-noncec36bc5d2e32da08d973e30ccc9a206510324f5fd7f4748bb6c060c6b6e9c2484
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDA0OkMzMDEzOjQ5MDRDRDA6NjE0NDk3Mzo2OThCQkIzOCIsInZpc2l0b3JfaWQiOiI4NDIyNzY1NjIzMjcyNzgyNjQ4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac2377b0733092c97b75a19d6c3ced7542f0bac9c1ec2a09380986b8f3296f3ed6
hovercard-subject-tagpull_request:1955654116
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/aws/aws-lambda-rust-runtime/907/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/460b4824fc6e2f910d81980e2413a41d402af0f530eba37b405969bed2552e5e/aws/aws-lambda-rust-runtime/pull/907
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/460b4824fc6e2f910d81980e2413a41d402af0f530eba37b405969bed2552e5e/aws/aws-lambda-rust-runtime/pull/907
og:image:alt📬 Issue #, if available: Fixes #901 ✍️ Description of changes: Change how we handle error types to be more ergonomic: Replace Cow with String: Diagnostics are serialized into JSON as soon as the ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecalavera
hostnamegithub.com
expected-hostnamegithub.com
None640eeb7b6ff4d8d106235d228c0c286e82592d4d2403227b5b2b4fc5832297a4
turbo-cache-controlno-preview
go-importgithub.com/aws/aws-lambda-rust-runtime git https://github.com/aws/aws-lambda-rust-runtime.git
octolytics-dimension-user_id2232217
octolytics-dimension-user_loginaws
octolytics-dimension-repository_id156752158
octolytics-dimension-repository_nwoaws/aws-lambda-rust-runtime
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id156752158
octolytics-dimension-repository_network_root_nwoaws/aws-lambda-rust-runtime
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
release3d444f0a47beeeac94cddbb51c91ab408befe8d4
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/aws/aws-lambda-rust-runtime/pull/907#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Faws%2Faws-lambda-rust-runtime%2Fpull%2F907
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Faws%2Faws-lambda-rust-runtime%2Fpull%2F907
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=aws%2Faws-lambda-rust-runtime
Reloadhttps://github.com/aws/aws-lambda-rust-runtime/pull/907
Reloadhttps://github.com/aws/aws-lambda-rust-runtime/pull/907
Reloadhttps://github.com/aws/aws-lambda-rust-runtime/pull/907
aws https://github.com/aws
aws-lambda-rust-runtimehttps://github.com/aws/aws-lambda-rust-runtime
Notifications https://github.com/login?return_to=%2Faws%2Faws-lambda-rust-runtime
Fork 380 https://github.com/login?return_to=%2Faws%2Faws-lambda-rust-runtime
Star 3.6k https://github.com/login?return_to=%2Faws%2Faws-lambda-rust-runtime
Code https://github.com/aws/aws-lambda-rust-runtime
Issues 19 https://github.com/aws/aws-lambda-rust-runtime/issues
Pull requests 6 https://github.com/aws/aws-lambda-rust-runtime/pulls
Discussions https://github.com/aws/aws-lambda-rust-runtime/discussions
Actions https://github.com/aws/aws-lambda-rust-runtime/actions
Projects 0 https://github.com/aws/aws-lambda-rust-runtime/projects
Security 0 https://github.com/aws/aws-lambda-rust-runtime/security
Insights https://github.com/aws/aws-lambda-rust-runtime/pulse
Code https://github.com/aws/aws-lambda-rust-runtime
Issues https://github.com/aws/aws-lambda-rust-runtime/issues
Pull requests https://github.com/aws/aws-lambda-rust-runtime/pulls
Discussions https://github.com/aws/aws-lambda-rust-runtime/discussions
Actions https://github.com/aws/aws-lambda-rust-runtime/actions
Projects https://github.com/aws/aws-lambda-rust-runtime/projects
Security https://github.com/aws/aws-lambda-rust-runtime/security
Insights https://github.com/aws/aws-lambda-rust-runtime/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Faws%2Faws-lambda-rust-runtime%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Faws%2Faws-lambda-rust-runtime%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/aws/aws-lambda-rust-runtime/pull/907#issue-comment-box
calaverahttps://github.com/calavera
mainhttps://github.com/aws/aws-lambda-rust-runtime/tree/main
error_into_diagnostichttps://github.com/aws/aws-lambda-rust-runtime/tree/error_into_diagnostic
Error handling improvements https://github.com/aws/aws-lambda-rust-runtime/pull/907#top
calaverahttps://github.com/calavera
mainhttps://github.com/aws/aws-lambda-rust-runtime/tree/main
error_into_diagnostichttps://github.com/aws/aws-lambda-rust-runtime/tree/error_into_diagnostic
Conversation 10 https://github.com/aws/aws-lambda-rust-runtime/pull/907
Commits 5 https://github.com/aws/aws-lambda-rust-runtime/pull/907/commits
Checks 0 https://github.com/aws/aws-lambda-rust-runtime/pull/907/checks
Files changed https://github.com/aws/aws-lambda-rust-runtime/pull/907/files
Please reload this pagehttps://github.com/aws/aws-lambda-rust-runtime/pull/907
https://github.co/hiddenchars
https://github.com/aws/aws-lambda-rust-runtime/pull/{{ revealButtonHref }}
https://github.com/calavera
calaverahttps://github.com/calavera
Jul 5, 2024https://github.com/aws/aws-lambda-rust-runtime/pull/907#issue-2393129586
Please reload this pagehttps://github.com/aws/aws-lambda-rust-runtime/pull/907
#901https://github.com/aws/aws-lambda-rust-runtime/issues/901
Please reload this pagehttps://github.com/aws/aws-lambda-rust-runtime/pull/907
https://github.com/calavera
Error handling improvementshttps://github.com/aws/aws-lambda-rust-runtime/pull/907/commits/a73212f477d0652a530e40824db9cb8a5b38e9cd
a73212fhttps://github.com/aws/aws-lambda-rust-runtime/pull/907/commits/a73212f477d0652a530e40824db9cb8a5b38e9cd
https://github.com/calavera
calaverahttps://github.com/calavera
bnusunnyhttps://github.com/bnusunny
maxdayhttps://github.com/maxday
July 5, 2024 20:49https://github.com/aws/aws-lambda-rust-runtime/pull/907#event-13409382117
https://github.com/calavera
calaverahttps://github.com/calavera
Jul 5, 2024 https://github.com/aws/aws-lambda-rust-runtime/pull/907#ref-issue-2375629768
Regression in v0.12.0: External error types no longer work with lambda_runtime::run #901 https://github.com/aws/aws-lambda-rust-runtime/issues/901
https://github.com/TethysSvensson
TethysSvenssonhttps://github.com/TethysSvensson
Jul 8, 2024https://github.com/aws/aws-lambda-rust-runtime/pull/907#issuecomment-2213218743
Please reload this pagehttps://github.com/aws/aws-lambda-rust-runtime/pull/907
https://github.com/TethysSvensson
TethysSvenssonhttps://github.com/TethysSvensson
Jul 8, 2024 https://github.com/aws/aws-lambda-rust-runtime/pull/907#pullrequestreview-2162469432
View reviewed changes https://github.com/aws/aws-lambda-rust-runtime/pull/907/files/a73212f477d0652a530e40824db9cb8a5b38e9cd
README.mdhttps://github.com/aws/aws-lambda-rust-runtime/pull/907/files/a73212f477d0652a530e40824db9cb8a5b38e9cd#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
Please reload this pagehttps://github.com/aws/aws-lambda-rust-runtime/pull/907
https://github.com/calavera
calaverahttps://github.com/calavera
Jul 8, 2024https://github.com/aws/aws-lambda-rust-runtime/pull/907#issuecomment-2214472548
@TethysSvenssonhttps://github.com/TethysSvensson
Please reload this pagehttps://github.com/aws/aws-lambda-rust-runtime/pull/907
https://github.com/calavera
Recommend to implement From.https://github.com/aws/aws-lambda-rust-runtime/pull/907/commits/0e10bdd40d0a55c6d51fd4e160e749bc3b7f84fc
0e10bddhttps://github.com/aws/aws-lambda-rust-runtime/pull/907/commits/0e10bdd40d0a55c6d51fd4e160e749bc3b7f84fc
https://github.com/calavera
calaverahttps://github.com/calavera
force-pushedhttps://github.com/aws/aws-lambda-rust-runtime/compare/eb97b25953a7e8d25cac77ff04d70283fe8fd90e..0e10bdd40d0a55c6d51fd4e160e749bc3b7f84fc
eb97b25https://github.com/aws/aws-lambda-rust-runtime/commit/eb97b25953a7e8d25cac77ff04d70283fe8fd90e
0e10bddhttps://github.com/aws/aws-lambda-rust-runtime/commit/0e10bdd40d0a55c6d51fd4e160e749bc3b7f84fc
Compare https://github.com/aws/aws-lambda-rust-runtime/compare/eb97b25953a7e8d25cac77ff04d70283fe8fd90e..0e10bdd40d0a55c6d51fd4e160e749bc3b7f84fc
July 8, 2024 15:41https://github.com/aws/aws-lambda-rust-runtime/pull/907#event-13426090100
https://github.com/TethysSvensson
TethysSvenssonhttps://github.com/TethysSvensson
Jul 8, 2024https://github.com/aws/aws-lambda-rust-runtime/pull/907#issuecomment-2214655947
Please reload this pagehttps://github.com/aws/aws-lambda-rust-runtime/pull/907
https://github.com/calavera
Simplify implementation, remove IntoDiagnostichttps://github.com/aws/aws-lambda-rust-runtime/pull/907/commits/fa3347f74d080f4fab4b29c490b05e885456b709
fa3347fhttps://github.com/aws/aws-lambda-rust-runtime/pull/907/commits/fa3347f74d080f4fab4b29c490b05e885456b709
https://github.com/calavera
calaverahttps://github.com/calavera
Jul 9, 2024https://github.com/aws/aws-lambda-rust-runtime/pull/907#issuecomment-2215709058
Please reload this pagehttps://github.com/aws/aws-lambda-rust-runtime/pull/907
https://github.com/tim3z
tim3zhttps://github.com/tim3z
Jul 10, 2024https://github.com/aws/aws-lambda-rust-runtime/pull/907#issuecomment-2220191743
Please reload this pagehttps://github.com/aws/aws-lambda-rust-runtime/pull/907
https://github.com/bnusunny
bnusunnyhttps://github.com/bnusunny
Jul 12, 2024 https://github.com/aws/aws-lambda-rust-runtime/pull/907#pullrequestreview-2175313202
View reviewed changes https://github.com/aws/aws-lambda-rust-runtime/pull/907/files/fa3347f74d080f4fab4b29c490b05e885456b709
https://github.com/calavera
Remove implementation for From>https://github.com/aws/aws-lambda-rust-runtime/pull/907/commits/17886da7b338d27c39e1272be8eac9b33b81ade4
17886dahttps://github.com/aws/aws-lambda-rust-runtime/pull/907/commits/17886da7b338d27c39e1272be8eac9b33b81ade4
https://github.com/calavera
calaverahttps://github.com/calavera
Jul 12, 2024https://github.com/aws/aws-lambda-rust-runtime/pull/907#issuecomment-2226239745
@tim3zhttps://github.com/tim3z
Please reload this pagehttps://github.com/aws/aws-lambda-rust-runtime/pull/907
https://github.com/rimutaka
rimutakahttps://github.com/rimutaka
Jul 12, 2024 https://github.com/aws/aws-lambda-rust-runtime/pull/907#pullrequestreview-2175603775
View reviewed changes https://github.com/aws/aws-lambda-rust-runtime/pull/907/files/fa3347f74d080f4fab4b29c490b05e885456b709
lambda-runtime/Cargo.tomlhttps://github.com/aws/aws-lambda-rust-runtime/pull/907/files/fa3347f74d080f4fab4b29c490b05e885456b709#diff-cd772d2c0f26b614437ecd8a95edcf3be6a8c9e1455692b0c5a70856032c097a
rimutakahttps://github.com/rimutaka
Jul 12, 2024https://github.com/aws/aws-lambda-rust-runtime/pull/907#discussion_r1676381130
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
rust-lang/rfcs#3485https://github.com/rust-lang/rfcs/pull/3485
Please reload this pagehttps://github.com/aws/aws-lambda-rust-runtime/pull/907
calaverahttps://github.com/calavera
Jul 12, 2024https://github.com/aws/aws-lambda-rust-runtime/pull/907#discussion_r1676391069
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/aws/aws-lambda-rust-runtime/pull/907
https://github.com/calavera
Document features in Cargo.tomlhttps://github.com/aws/aws-lambda-rust-runtime/pull/907/commits/6c13af2cdfa74fc8283b926e40f4fe242192fffb
6c13af2https://github.com/aws/aws-lambda-rust-runtime/pull/907/commits/6c13af2cdfa74fc8283b926e40f4fe242192fffb
https://github.com/calavera
calaverahttps://github.com/calavera
e8761dahttps://github.com/aws/aws-lambda-rust-runtime/commit/e8761dae829a09c0858b2702dcef7d3853c3d377
Jul 12, 2024https://github.com/aws/aws-lambda-rust-runtime/pull/907#event-13491730726
https://github.com/calavera
calaverahttps://github.com/calavera
July 12, 2024 19:58https://github.com/aws/aws-lambda-rust-runtime/pull/907#event-13491730970
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Faws%2Faws-lambda-rust-runtime%2Fpull%2F907
https://github.com/bnusunny
bnusunny https://github.com/bnusunny
https://github.com/aws/aws-lambda-rust-runtime/pull/907/files/fa3347f74d080f4fab4b29c490b05e885456b709
https://github.com/maxday
maxday https://github.com/maxday
https://github.com/TethysSvensson
TethysSvensson https://github.com/TethysSvensson
https://github.com/aws/aws-lambda-rust-runtime/pull/907/files/a73212f477d0652a530e40824db9cb8a5b38e9cd
https://github.com/rimutaka
rimutaka https://github.com/rimutaka
https://github.com/aws/aws-lambda-rust-runtime/pull/907/files/fa3347f74d080f4fab4b29c490b05e885456b709
Regression in v0.12.0: External error types no longer work with lambda_runtime::run https://github.com/aws/aws-lambda-rust-runtime/issues/901
Please reload this pagehttps://github.com/aws/aws-lambda-rust-runtime/pull/907
https://github.com/calavera
https://github.com/TethysSvensson
https://github.com/tim3z
https://github.com/bnusunny
https://github.com/rimutaka
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.