mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-10-25 09:34:00 +08:00
* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
572 B
572 B
Wrapping/Unwrapping Errors
Create error chains preserving original errors while adding context using fmt.Errorf() with %w verb. Use errors.Unwrap(), errors.Is(), and errors.As() to work with wrapped errors. Enables rich error contexts for easier debugging.
Visit the following resources to learn more: