error-handling

Tag

Cards List
#error-handling

If you're just going to sit there doing nothing, at least do nothing correctly

Lobsters Hottest ↗ · 2026-05-20 Cached

This article from The Old New Thing explains the concept of making APIs 'inert'—do nothing in a way that avoids breaking existing apps—using examples like printing support on Xbox and retiring widget APIs.

0 favorites 0 likes
#error-handling

MCP Hello Page

Hacker News Top ↗ · 2026-05-16 Cached

The author describes a common user onboarding problem with MCP servers—users opening the endpoint in a browser and seeing a 401 error—and shares a simple hack: returning an HTML page that explains how to properly add the server to an LLM client, which drastically reduced support tickets.

0 favorites 0 likes
#error-handling

Your harness is failing your agent but there's no benchmark to prove it

Reddit r/AI_Agents ↗ · 2026-05-12

The article highlights a lack of benchmarks for evaluating the reliability of agent harnesses, specifically focusing on how MCP implementations handle tool calls and errors compared to the models themselves.

0 favorites 0 likes
#error-handling

I catalogued every way local models break JSON output and built a repair library, here's what I found across 288 model calls

Reddit r/LocalLLaMA ↗ · 2026-05-11

A developer catalogued JSON output failures across 288 local model runs, finding common issues like markdown fences and trailing commas, and built outputguard, a Python library to repair invalid JSON with 15 strategies.

0 favorites 0 likes
#error-handling

When life gives you lemons, write better error messages

Hacker News Top ↗ · 2026-05-08 Cached

This article discusses Wix's initiative to improve thousands of error messages across its platform, defining characteristics of good versus bad error handling in UX design. It emphasizes clarity, empathy, and actionable solutions over technical jargon or blaming users.

0 favorites 0 likes
#error-handling

How to build your first Claude agent. The part most tutorials leave out.

Reddit r/AI_Agents ↗ · 2026-05-08

This article explains how to build a Claude agent using Python, emphasizing the importance of handling tool failure cases effectively rather than just relying on happy-path scenarios.

0 favorites 0 likes
#error-handling

Idempotency Is Easy Until the Second Request Is Different

Hacker News Top ↗ · 2026-05-07 Cached

The article discusses the complexities of implementing idempotency in APIs, arguing that handling edge cases like concurrent requests and content mismatches is harder than simple replay caching.

0 favorites 0 likes
#error-handling

Minimal Viable Zig Error Contexts

matklad ↗ · 2026-05-03 Cached

A blog post detailing a minimal pattern for adding error context in Zig using errdefer logging, comparing it to full diagnostics sinks and catch blocks, and discussing tradeoffs.

0 favorites 0 likes
#error-handling

Diagnostics Factory

matklad ↗ · 2026-02-16 Cached

该文章介绍了在Zig中使用诊断工厂模式来管理错误报告,避免预先定义错误类型,而是提供一组构造函数来生成错误信息,并展示了在TigerBeetle项目中的实际应用。

0 favorites 0 likes
#error-handling

Don't Trip[wire] Yourself: Testing Error Recovery in Zig

Mitchell Hashimoto ↗ · 2026-01-21 Cached

Mitchell Hashimoto introduces Tripwire, a Zig library that injects failures to test error recovery paths, with zero runtime cost when disabled.

0 favorites 0 likes
#error-handling

Effect-TS/effect

GitHub Trending (daily) ↗ · 2026-10-02 Cached

Effect is a TypeScript library for building robust, type-safe, production-grade applications, handling typed errors, dependency injection, structured concurrency, scheduling, tracing, and schema validation. Version 4.x is announced as a long-term support release with at least three years of support guarantees.

0 favorites 0 likes
← Previous
← Back to home

Submit Feedback