Go error wrapping every dev should know: mini course video thumbnail

Free mini course

Go error wrapping every dev should know

Stop losing context in your logs by mastering golang error wrapping today.

This guide covers how to use fmt.Errorf with the %w verb to preserve the original cause of an error throughout your call stack. You will learn the correct way to handle errors using errors.Is and errors.As, moving away from brittle string comparisons.

Watch on YouTube