Go errors.Is and errors.As: Error Wrapping
Before Go 1.13, adding context to errors meant losing the original error entirely. If you wanted to annotate an error with additional information about where it occurred, you’d create a new error…
Read more →