Skip to content

Commit c9ab2f2

Browse files
committed
Update readme
1 parent 8c90d9a commit c9ab2f2

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

‎README.md‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,13 @@ Structured errors with fields, causes, and stack traces, plus a concurrent-safe
2323

2424
## Features
2525

26-
- **Drop-in replacement** for the standard `errors` package – swap the import, keep `New`, `Is`, `As` and `AsType`.
27-
- **Stack traces** captured where the error is raised and printed with `%+v`.
26+
- **Drop-in** – swap the `errors` import; `New`, `Is`, `As` and `AsType` keep working.
27+
- **Stack traces** – captured where the error is raised, printed with `%+v`.
2828
- **Fields** – key-value context attached to an error.
2929
- **Cause** – the error that caused this one, visible to `Is` and `As`.
30-
- **Identity** – every copy made by `With*` is still the error it came from for `errors.Is`.
31-
- **Immutable** – every `With*` method returns a new error.
32-
- **Structured logging** – errors are logged by `slog` as groups of their message, fields and cause.
33-
- **Multi error** – concurrent-safe collection of errors as a single `error`, with `Join` on top.
30+
- **Immutable** – `With*` returns a copy that still matches the original with `Is`.
31+
- **Structured logging** – logged by `slog` as a group of message, fields and cause.
32+
- **Multi error** – concurrent-safe collection of errors, with `Join` on top.
3433

3534
## Installation
3635

0 commit comments

Comments
 (0)