Tagged articles
3 articles
Page 1 of 1
Go Development Architecture Practice
Go Development Architecture Practice
Apr 20, 2026 · Backend Development

Mastering Go Error Handling: From Basics to Advanced Patterns

This article explains why error handling is crucial in Go, demonstrates the language's explicit error model, walks through basic error representation, return and checking, introduces custom error types, error wrapping, error chains, best‑practice guidelines, and centralised handling patterns with concrete code examples.

Error HandlingGobest practices
0 likes · 14 min read
Mastering Go Error Handling: From Basics to Advanced Patterns
Raymond Ops
Raymond Ops
Dec 20, 2024 · Fundamentals

Mastering Go Error Handling: From Errors to Panic and Recover

This article explains Go's error handling conventions, including returning error values, creating custom errors with the errors package, using fmt.Errorf, handling runtime panics, and recovering from them with defer, plus advanced patterns like panic‑recover wrappers and closure‑based error management, illustrated with comprehensive code examples.

Error Handlingcustom errorspanic
0 likes · 13 min read
Mastering Go Error Handling: From Errors to Panic and Recover
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Dec 5, 2017 · Backend Development

Mastering JavaScript Error Objects: Clean Error Handling and Reporting

This article explains how to leverage JavaScript's built‑in Error object and custom error classes to separate normal output from exceptions, improve readability, enable unified handling, and automatically report issues, offering practical code examples for both front‑end and Node.js back‑end development.

Error HandlingException reportingNode.js
0 likes · 7 min read
Mastering JavaScript Error Objects: Clean Error Handling and Reporting