error-handling

Tag

Cards List
#error-handling

Work In Progress Rust

Lobsters Hottest ↗ · 2026-07-05 Cached

This article presents techniques and a library for deferring error handling in Rust during development, allowing developers to temporarily downgrade errors to warnings to maintain productivity without sacrificing correctness.

0 favorites 0 likes
#error-handling

Reducing Assumptions, Exploding Your Code

Lobsters Hottest ↗ · 2026-07-04 Cached

The article contrasts Python and Rye scripts for downloading a PDF, highlighting how initial elegant code makes many assumptions about success. It then demonstrates adding validation, which reduces readability but improves robustness.

0 favorites 0 likes
#error-handling

Rust - Handling Results In A Map Closure

Lobsters Hottest ↗ · 2026-07-04 Cached

This article addresses the common Rust error when using a function that returns a Result within a map closure, and provides multiple solutions: collecting results, using a loop, filter_map, and try_fold.

0 favorites 0 likes
#error-handling

A cheap trick for reliable structured output: feed the validation error back into the retry

Reddit r/LocalLLaMA ↗ · 2026-07-02

A practical technique for improving structured output generation from LLMs by feeding validation errors back into retry prompts, allowing the model to self-correct rather than blindly retrying. The method involves describing the error in model-friendly terms and providing the previous output for editing.

0 favorites 0 likes
#error-handling

what does your agent do when a third-party service goes down mid-workflow?

Reddit r/AI_Agents ↗ · 2026-06-29

Explores how AI agents should handle failures when third-party services go down during a workflow, highlighting the need for robust error handling in autonomous systems.

0 favorites 0 likes
#error-handling

C in the Linux Kernel

Lobsters Hottest ↗ · 2026-06-27 Cached

This article delves into the differences between C in the Linux kernel and ordinary userspace C, covering core techniques such as resource management, error handling, concurrency, logging, static analysis, and extensively using GNU C extensions and kernel-specific patterns.

0 favorites 0 likes
#error-handling

Excessive nil pointer checks in Go

Lobsters Hottest ↗ · 2026-06-27 Cached

A blog post discussing how excessive nil pointer checks in Go can indicate unclear code and poor error handling practices, advocating for early failure and explicit modeling of unavailable dependencies.

0 favorites 0 likes
#error-handling

the agent demos look amazing because nobody films the 90% that's error handling

Reddit r/AI_Agents ↗ · 2026-06-25

The author contrasts polished AI agent demos with the reality of production systems, noting that most agent code is for error handling and guardrails rather than the core intelligence.

0 favorites 0 likes
#error-handling

My pipeline ran "successfully" for a week. Turned out my agent had been silently skipping failed API calls the whole time.

Reddit r/AI_Agents ↗ · 2026-06-23

A developer recounts how their automated pipeline silently skipped failed API calls due to rate limiting, producing seemingly successful runs with empty data. They discuss the trade-off between retrying and hard-failing, and ask the community for best practices in agent error handling.

0 favorites 0 likes
#error-handling

Your automation "expert" built you a time bomb, and they'll ghost the second it goes off.

Reddit r/AI_Agents ↗ · 2026-06-19

A critique of poorly built automation systems created by so-called experts who ignore error handling, documentation, and governance, leaving clients with fragile workflows that fail in production.

0 favorites 0 likes
#error-handling

Capping tool retries per session saved me from a runaway agent bill

Reddit r/AI_Agents ↗ · 2026-06-11

A developer shares a lesson learned about capping tool retries per session rather than per call to prevent runaway costs from flaky endpoints, recommending a per-session retry budget that fails loud when exhausted.

0 favorites 0 likes
#error-handling

Your Interface Has Two Channels

Lobsters Hottest ↗ · 2026-06-11 Cached

The article presents a framework for interface design where every interface has two channels (in-band and out-of-band) for concern signaling, arguing that good design forces users to confront important concerns rather than allowing them to ignore them.

0 favorites 0 likes
#error-handling

@aehyok: Wondering how many people are still using OpenClaw? How many are still using Hermes Agent? How many know about the Auxiliary Models feature in Hermes Agent? Each auxiliary task is independent, and you can specify a model for each one. Additionally, H…

X AI KOLs Timeline ↗ · 2026-06-05 Cached

Introducing the Auxiliary Models feature in Hermes Agent, which allows independent configuration of models for each auxiliary task. It also includes a fallback mechanism that automatically switches to backup models. Support for the Hermes Desktop client is also mentioned.

0 favorites 0 likes
#error-handling

@sydneyrunkle: https://x.com/sydneyrunkle/status/2062588423295111208

X AI KOLs Following ↗ · 2026-06-04 Cached

This article explains how to add fault tolerance to LangGraph agents using RetryPolicy, TimeoutPolicy, and error handlers, covering retries with backoff, timeouts, and compensation logic for production reliability.

0 favorites 0 likes
#error-handling

We added a dead man's switch to our multi-agent system. When all 4 outbound channels fail simultaneously, the team escalates to a human.

Reddit r/AI_Agents ↗ · 2026-06-03

The builders of a multi-agent system added a dead man's switch that alerts a human when all four outbound communication channels are blocked simultaneously, preventing silent failures. The fix includes a dedup guard to avoid repeated alerts.

0 favorites 0 likes
#error-handling

Built an Open-Source Tool That Finds Missing Validation, Retries, and Error Handling in AI Agent Systems

Reddit r/AI_Agents ↗ · 2026-06-03

We released Trustabl Agent Analyzer, an open-source tool that scans AI agent repositories to find missing validation, retries, and error handling, generating a privacy-preserving local report.

0 favorites 0 likes
#error-handling

How do you deal with AI "hallucinations" in your automations?

Reddit r/AI_Agents ↗ · 2026-06-01

A discussion about dealing with AI hallucination errors in business automations, focusing on damage control and practical mitigation strategies.

0 favorites 0 likes
#error-handling

Custom Errors Are Non-Negotiable in My Rust Applications

Lobsters Hottest ↗ · 2026-05-30 Cached

A blog post advocating for custom error types in Rust applications, explaining how to create a unified AppError enum using map_err and From traits to streamline error handling across different subsystems.

0 favorites 0 likes
#error-handling

Scoped Error in Rust

Lobsters Hottest ↗ · 2026-05-25 Cached

Kan-Ru Chen introduces `scoped-error`, a new Rust crate that aims to improve error handling ergonomics by scoping context attachment to the module level, addressing issues with existing crates like anyhow and thiserror.

0 favorites 0 likes
#error-handling

No way to parse integers in C (2022)

Hacker News Top ↗ · 2026-05-20 Cached

The article criticizes C standard library functions for parsing integers (atol, strtol, strtoul, sscanf), explaining why most are broken and only strtol can be used correctly with careful error handling.

0 favorites 0 likes
← Previous
Next →
← Back to home

Submit Feedback