#error-handling — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #error-handling, aggregated by home.social.
-
When life gives you lemons, write better error messages
https://wix-ux.com/when-life-gives-you-lemons-write-better-error-messages-46c5223e1a2f
#HackerNews #errorhandling #userexperience #uxdesign #softwaredevelopment #readability
-
🐍✨ Ah, the epic #saga of snake oil: from promising cure-alls to... wait, is this an error message or an avant-garde art piece? #JavaScript, the true hero of this tale, valiantly attempts to untangle the digital spaghetti. 🍝🔧
https://www.historytoday.com/archive/history-matters/rise-and-fall-snake-oil #snakeoil #digitalart #errorhandling #webdevelopment #HackerNews #ngated -
Ubuntu 26.04 installation problems #softwareinstallation #updatemanager #softwaresources #errorhandling #2604
-
🎩✨ Ah, the #utopia where borrow-checking without type-checking is feasible! A dreamland where dynamic typing is sold as a feature and "useful error messages" are apparently the new nirvana. 🚀😏 Let's marvel at this miraculous toy language that's less expressive than #Rust but more expressive than, well, absolutely nothing.
https://www.scattered-thoughts.net/writing/borrow-checking-without-type-checking/ #dynamictyping #errorhandling #programminglanguages #HackerNews #ngated -
How do you handle exceptions in CSharp?
Read more here:
https://bgh.st/ctz7i0 -
You can pick up the document 'Signalling and Handling Conditions' from this index page:
It was longer than I thought it would be, but I think you'll find it interesting to see what the Zetalisp condition system (which inspired the Common Lisp condition system) looked like.
In spirit, it was much the same. The biggest differences are:
* The CL system has 'active' restarts, where the ZL system had a passive thing where you returned a value to the case context and hoped that it would do the thing you wanted. It felt quite a bit more error-prone (if you'll pardon the reuse of 'error' here, maybe I should say 'mistake-prone').
* The ZL condition system offers a lot of really low-level stuff that did not seem proper for CL.
* The set of operations offered in ZL was richer, but also a lot more complicated, I thought, and I worried people would not really see what it was trying to do.
* Obviously, the ZL system was based on Flavors, not CLOS, and made reference to a lot of LispM-specific packages.
* The document was published in January, 1983 and identifies itself as part of Symbolics Release 4.0.
There are other differences as well.
#Zetalisp #LispMachine #LispMachines #Symbolics #LispM
#ConditionHandling #ConditionSystem #ErrorSystem #ErrorHandling #CommonLisp #CL #Flavors #CLOS #History #ComputerHistory
#InternetArchive #Bitsavers -
Get real-time alerts for Brokepoint! This video shows how to use the Notification Web API to surface errors from background jobs and streams so nothing slips by. A must-watch for devs who want smarter error handling. #WebAPI #Notifications #WebDev #JavaScript #ErrorHandling #DevTools #OpenWeb #PeerTube #English #ScienceTech
https://video.d20.social/videos/watch/6f48e2fc-b970-424b-8f77-ad2afecdc1cf -
#Development #Techniques
From instanceof to Error.isError() · Safer error checking in JavaScript https://ilo.im/16avdx_____
#ErrorHandling #JavaScript #Browsers #NodeJS #WebDev #Frontend #Backend -
FastMCP brings a suite of Python tools for the Model Context Protocol, now with full type hints, docstrings, robust error handling, input validation and logging. Ideal for AI developers who want clean, maintainable code and seamless integration. Dive in to see how it streamlines your LLM workflows and boosts open‑source collaboration. #FastMCP #ModelContextProtocol #PythonAI #ErrorHandling
🔗 https://aidailypost.com/news/fastmcp-offers-python-tools-type-hints-docstrings-error-handling
-
Coincidentally, I assume, Abhijit Rao posted on LinkedIn earlier today a very interesting blurb, reporting on his use of this condition handling structure in conjunction with LLMs.
(Works for me in an incognito window, but you may not be able to see past the first comment if you don't have a LinkedIn account.)
https://www.linkedin.com/posts/quasiabhi_commonlisp-lisp-agents-activity-7425847332560293888-fYf9
The blurb references this more detailed account of the work, which I haven't been through in detail yet:
https://quasilabs.in/blog/2026/02/07/conditions-restarts-and-the-agent-that-chooses/
#CommonLisp #Lisp #ConditionHandling #Errors #Restarts #Continuations #ErrorHandling #ConditionHandling #LLM #LLMs #AI #Modularity #QuasiLabs #Reflection #Introspection #MetaProgramming
-
Optional Chaining vs Try-Except: Null Safety Battle
JavaScript's ?. operator vs Python's try-except. Which language handles null/undefined more elegantly? Mind = blown!
#javascript #python #javascriptvspython #optionalchaining #nullsafety #errorhandling #programmingcomparison #codecomparison #javascripttricks #pythontricks #syntaxcomparison #viralcoding
-
muss mich dran machen und weiter an dem Datenbankproblem von https://fulda.social arbeiten.
Das ist aktuell der Grund warum ich nicht migieren kann.
db-1 | 2026-01-16 17:46:07.415 UTC [456167] ERROR: duplicate key value violates unique constraint "index_status_stats_on_status_id"
db-1 | 2026-01-16 17:46:07.415 UTC [456167] DETAIL: Key (status_id)=(110259149605721147) already exists.
db-1 | 2026-01-16 16:41:31.813 UTC [458241] ERROR: missing chunk number 0 for toast value 2002898 in pg_toast_16483
db-1 | 2026-01-16 16:41:31.813 UTC [458241] STATEMENT: SELECT "accounts"."username",
keine Ahnung was ich machen soll.
#fedimins #mastodon #errorhandling -
finally{} OVERRIDES return Statement?!
💥 WATCH THIS NOW! finally block KILLS your return statement! try returns 'A', but finally returns 'B' - guess which one wins? This silent behavior has caused millions in production bugs! Share this NOW!
#javascript #javascripttricks #codingchallenge #trycatchfinally #returnstatement #javascriptquiz #javascriptweird #javascriptwtf #javascriptbugs #codinginterview #errorhandling #javascriptshorts
-
Stop Forwarding Errors, Start Designing Them - by Fast (January 2026):
https://fast.github.io/blog/stop-forwarding-errors-start-designing-them/
Hands down one of the best guides on good error handling in #Rust I've ever read!
Accompanying crate => exn
---
Another great blog post on Error handling in #RustLang by Bugen
A Guide to Error Handling that Just Works (Part I) (April 2024):
-
🎉 Yay! Let's turn the art of error handling into a thrilling game of "hot potato," where errors bounce around like they’re in a pinball machine 🎰. Who needs clarity when #chaos is so much more fun? 😂 Enjoy the sleepless nights and existential dread as you design your own tiny monsters of confusion! 🎭
https://fast.github.io/blog/stop-forwarding-errors-start-designing-them/ #errorhandling #hotpotato #fun #sleeplessnights #HackerNews #ngated -
Stop Forwarding Errors, Start Designing Them
https://fast.github.io/blog/stop-forwarding-errors-start-designing-them/
#HackerNews #StopForwardingErrors #StartDesigningThem #ErrorHandling #DesignThinking #SoftwareDevelopment
-
Log level 'error' should mean that something needs to be fixed
https://utcc.utoronto.ca/~cks/space/blog/programming/ErrorsShouldRequireFixing
#HackerNews #LogLevelError #ErrorHandling #SoftwareDevelopment #Programming #BestPractices
-
How do you handle exceptions in CSharp?
Read more here:
https://www.devleader.ca/2023/10/22/how-to-handle-exceptions-in-csharp-tips-and-tricks-for-streamlined-debugging/ -
How One Uncaught Rust Exception Took Out Cloudflare https://hackaday.com/2025/11/20/how-one-uncaught-rust-exception-took-out-cloudflare/ #SoftwareDevelopment #internetoutages #errorhandling
-
Someone told me after my talk that it "felt like a @pointfreeco episode, but live on stage". I have to say, this is the best compliment I can imagine! 🫠
Those guys rock, after all. 🤘
Here’s the talk:
https://youtu.be/SEwI6vjC1Bw?si=zRzxN7xkt_soA-4v -
25 Years of Linux Magazine: This week, we don't have to go back far to one of our most popular reads. In this article from the March 2025 issue, Marcin Gąstół gives you a deep dive into advanced shell scripting
https://www.linux-magazine.com/Issues/2025/292/Advanced-Shell-Scripting?utm_source=mlm
#shell #scripting #Linux #automation #ITInfrastructure #FOSS #debugging #code #ErrorHandling #OpenSource -
My first ever conference talk is online! 👀😊
See how I reinvented error handling in Swift and let me know what you think: 👇
-
Any decent error message is a kind of oracle
https://digitalseams.com/blog/any-decent-error-message-is-a-kind-of-oracle
#HackerNews #errorhandling #softwaredevelopment #debugging #oracle
-
Line counts for a trivial¹ procedure to carefully move an item from one place to another:
9 error checking and signalling
4 comments
4 trace output
4 closing braces
3 payload (get, put, remove)
3 local variables
1 procedure head
28 totalWith only 9 lines out of 28, I got away very lightly.
_________
¹ In particular, not transactional.