Glossary: System Design Basics in Go
error wrapping (%w)
Also written: %w, wrap
Adding context to an error with `fmt.Errorf` and `%w` while keeping the original inside, so `errors.Is` can still find it.
Glossary: System Design Basics in Go
Also written: %w, wrap
Adding context to an error with `fmt.Errorf` and `%w` while keeping the original inside, so `errors.Is` can still find it.