Code Snippets

Tag: Error Handling

Wrap and Unwrap Errors in Go

Wrap errors with fmt.Errorf %w and inspect with errors.Is / As.

Author: chris