Tagged articles

xerrors

2 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
Golang Shines
Golang Shines
Apr 16, 2026 · Backend Development

Go Error Handling Best Practices: From Basics to Advanced

The article explains why proper error handling is crucial for reliable Go programs, describes Go's explicit error return model, demonstrates basic techniques, introduces custom error types, error wrapping and chaining introduced in Go 1.13, outlines best‑practice guidelines, and reviews popular libraries and centralised patterns.

Error handlingGobest practices
0 likes · 12 min read
Go Error Handling Best Practices: From Basics to Advanced