Tag

recover

1 views collected around this technical thread.

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.

Custom errorsGobest practices
0 likes · 13 min read
Mastering Go Error Handling: From Errors to Panic and Recover
macrozheng
macrozheng
Apr 23, 2023 · Backend Development

Master Spring Retry: Using @Retryable and @Recover for Robust Backend Retries

This guide explains how to use Spring Retry’s @Retryable and @Recover annotations in Spring Boot, covering dependency setup, enabling retries, annotating methods, configuring backoff policies, handling exhausted retries, and important precautions for reliable backend retry mechanisms.

JavaRetry LogicRetryable
0 likes · 7 min read
Master Spring Retry: Using @Retryable and @Recover for Robust Backend Retries
Zhuanzhuan Tech
Zhuanzhuan Tech
Feb 23, 2022 · Backend Development

Go Error Handling Practices in ZuanZuan Operations: Usage and Management

This article explains how ZuanZuan's operations team applies Go's error handling mechanisms—including error values, panic/recover, sentinel errors, and custom error types—along with practical guidelines and code examples to improve reliability and maintainability of production services.

Backend DevelopmentGoerror handling
0 likes · 13 min read
Go Error Handling Practices in ZuanZuan Operations: Usage and Management
360 Tech Engineering
360 Tech Engineering
Apr 13, 2020 · Backend Development

Understanding Exception and Error Handling in Go

This article explains how Go handles exceptions and errors using defer, panic, and recover, compares it with try‑catch in other languages, demonstrates the built‑in error interface, custom error types, and provides multiple code examples and analyses of their output.

ExceptionGodefer
0 likes · 6 min read
Understanding Exception and Error Handling in Go