Skip to content

Commit

Permalink
Mention tree traversal in package doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
bobg committed Feb 3, 2024
1 parent d023c1a commit bff95e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
This is errors,
a drop-in replacement for [the standard Go errors package](https://pkg.go.dev/errors).
It adds an API for wrapping an error with a caller-specified message and a snapshot of the call stack.
It also adds a function for traversing an error’s tree of wrapped sub-errors.

This module began as a fork of the venerable [github.com/pkg/errors](https://github.com/pkg/errors).
That module’s GitHub repository has been frozen for a long time and has not kept up with changes to the standard library.
Expand Down
2 changes: 1 addition & 1 deletion errors.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Package errors is a drop-in replacement for the stdlib errors package.
// It adds an error-wrapping API and stack traces.
// It adds error-wrapping functions, stack traces, error-tree traversal.
package errors

import (
Expand Down

0 comments on commit bff95e9

Please sign in to comment.