Wrapping and unwrapping errors is now part of Go!

Error Handling in Go 1.13

Keep up with the latest additions in Go error handling

Error Wrapping/Unwrapping

Wrapping errors is now supported using the %w verb

Error Inspection

errors.Unwrap

errors.Is

errors.As

Wrapping Up

Back End Developer and Golang Enthusiast. I am a sucker for great code, and I like to hack whatever comes my way.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store